From dbcfb92e12e9016060d1907a2556cc61e82f467d Mon Sep 17 00:00:00 2001 From: leaf corcoran Date: Sun, 22 Sep 2019 11:13:37 -0700 Subject: run with gcc and clang --- .github/workflows/test.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fc8a49e..a2076f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,7 @@ jobs: strategy: fail-fast: false matrix: + cc: ["gcc", "clang"] luaVersion: ["5.1", "5.2", "5.3", "luajit", "luajit-openresty"] include: - luaVersion: "luajit" @@ -21,17 +22,24 @@ jobs: steps: - uses: actions/checkout@master - - uses: leafo/gh-actions-lua@v3 + - uses: leafo/gh-actions-lua@master + env: + CC: ${{ matrix.cc }} with: luaVersion: ${{ matrix.luaVersion }} + luaCompileFlags: CC=${{ matrix.cc }} - uses: leafo/gh-actions-luarocks@v2 - name: runtests.sh + env: + CC: ${{ matrix.cc }} run: | LUA_DIR=.lua ${{ matrix.runtestEnv }} ./runtests.sh PREFIX=.lua ${{ matrix.runtestArgs }} - name: setup prove + env: + CC: ${{ matrix.cc }} run: | make PREFIX=.lua ${{ matrix.runtestArgs }} sudo apt-get install -q valgrind libipc-run3-perl cppcheck cpanminus -- cgit v1.2.3-55-g6feb