From 20b2b98a0114a9b09895b15b1e58f84b5be7136c Mon Sep 17 00:00:00 2001 From: gitlost Date: Wed, 19 Jul 2023 16:20:29 +0100 Subject: [PATCH] github: try re-enabling the Ubuntu 32-bit build --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a5cae85..60c28706 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,34 @@ jobs: shell: bash run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$(pwd)/backend" PATH=$PATH:"$(pwd)/frontend" ctest -V -C $BUILD_TYPE + build-ubuntu-32bit: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install multilibs + run: sudo apt install gcc-multilib g++-multilib + + - name: Create Build Environment + run: cmake -E make_directory ${{runner.workspace}}/build + + - name: Configure CMake + working-directory: ${{runner.workspace}}/build + shell: bash + run: cmake $GITHUB_WORKSPACE -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DZINT_TEST=ON -DZINT_STATIC=ON -DZINT_USE_PNG=OFF -DZINT_USE_QT=OFF + + - name: Build + working-directory: ${{runner.workspace}}/build + shell: bash + run: cmake --build . -j8 --config $BUILD_TYPE + + - name: Test + working-directory: ${{runner.workspace}}/build + shell: bash + run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$(pwd)/backend" PATH=$PATH:"$(pwd)/frontend" ctest -V -C $BUILD_TYPE + + build-windows-32bit: runs-on: windows-latest