Skip to content

Commit

Permalink
add 32 bit github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Apr 19, 2024
1 parent c0ba771 commit 42fc825
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,53 @@ jobs:
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure

latest-cpp:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Configure system
run: |
sudo apt-get -y update
sudo apt-get -y install libboost-test-dev
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure

latest-cpp32:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Configure system
run: |
sudo apt-get -y update
sudo apt-get -y install g++-multilib libboost-test-dev
wget https://downloads.sourceforge.net/project/boost/boost/1.84.0/boost_1_84_0.tar.gz --no-verbose
tar -xf boost_1_84_0.tar.gz
cd boost_1_84_0
./bootstrap.sh
./b2 cxxflags=-m32 --with-serialization --with-test --with-timer install -j4
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_FLAGS="-m32"

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure

latest-clangpp:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 42fc825

Please sign in to comment.