Skip to content

Commit

Permalink
Test builds on i686
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeeynamo committed Oct 13, 2024
1 parent 8d0a670 commit faa45f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/picci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,15 @@ jobs:
compiler: ["clang", "gcc"]
build_type: ["Debug", "RelWithDebInfo"]
sound_engine: ["lle", "custom"]
arch: ["x86_64", "i686"]
runs-on: ubuntu-24.04
needs: extract-assets
steps:
- name: Install requirements
run: sudo apt-get update && sudo apt-get install build-essential libsdl2-dev
- name: Install multilib
if: matrix.arch == 'i686'
run: sudo apt-get install gcc-multilib g++-multilib
- name: Clone repo
uses: actions/checkout@v4
with:
Expand All @@ -83,6 +87,8 @@ jobs:
export PC_FLAGS="-DWANT_LIBSND_LLE=1"
fi
export CC=${{ matrix.compiler }}
export CFLAGS="-m${{ matrix.arch }}"
export CXXFLAGS="-m${{ matrix.arch }}"
cmake -B ${{github.workspace}}/pc ${PC_FLAGS} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
cmake --build ${{github.workspace}}/pc --config ${{ matrix.build_type }}
- name: Test
Expand Down

0 comments on commit faa45f6

Please sign in to comment.