From cbb84accfed88c6b1baf93b4bdfc80a34652acac Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Thu, 9 Jul 2020 17:31:16 +0200 Subject: [PATCH] Add build on linux 32 bits --- .github/workflows/ccpp.yml | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 6e9989c3..8a938fa6 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -20,6 +20,20 @@ jobs: working-directory: ./tests run: make clean check CC="c++ -std=c++11" + build_linux32: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: install multilib + run: sudo apt-get install gcc-multilib + - name: make check C99 + working-directory: ./tests + run: make clean check CC="gcc -m32 -std=c99" + - name: make check C11 + working-directory: ./tests + run: make clean check CC="gcc -m32 -std=c11" + build_linux_tcc: runs-on: ubuntu-latest @@ -39,10 +53,7 @@ jobs: run: make CC="/tmp/tcc/bin/tcc -std=c99" check build_windows_mingw: - strategy: - matrix: - platform: [windows-latest] - runs-on: ${{ matrix.platform }} + runs-on: windows-latest steps: - uses: actions/checkout@v1 @@ -66,10 +77,7 @@ jobs: run: make CC="gcc -std=c99 -D__USE_MINGW_ANSI_STDIO=1" check build_windows_visual: - strategy: - matrix: - platform: [windows-latest] - runs-on: ${{ matrix.platform }} + runs-on: windows-latest steps: - uses: actions/checkout@v1 @@ -79,10 +87,7 @@ jobs: run: Make-check-cl.bat cl build_windows_clang_cl: - strategy: - matrix: - platform: [windows-latest] - runs-on: ${{ matrix.platform }} + runs-on: windows-latest steps: - uses: actions/checkout@v1