Skip to content

Commit 94d2354

Browse files
committed
Test 32 bit linux
1 parent 95e98c7 commit 94d2354

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,34 @@ jobs:
678678
ninja
679679
./unittest_module
680680
681+
unittest-linux-32-bit:
682+
runs-on: ubuntu-24.04
683+
needs: unittest-linux
684+
strategy:
685+
fail-fast: false
686+
matrix:
687+
compiler: [g++-10, clang++-18]
688+
steps:
689+
- uses: actions/checkout@v4
690+
- name: dependencies
691+
run: |
692+
sudo apt install ninja-build clang-19 clang-tools-19
693+
- name: build and test
694+
run: |
695+
mkdir build
696+
cd build
697+
cmake .. \
698+
-GNinja \
699+
-DCMAKE_BUILD_TYPE=Debug \
700+
-DCMAKE_CXX_COMPILER=${{matrix.compiler}} \
701+
-DCPPTRACE_WERROR_BUILD=On \
702+
-DCPPTRACE_STD_FORMAT=Off \
703+
-DCPPTRACE_BUILD_TESTING=On \
704+
-DCMAKE_C_FLAGS=-m32 \
705+
-DCMAKE_CXX_FLAGS=-m32
706+
ninja
707+
./unittest_module
708+
681709
unittest-windows-32-bit:
682710
runs-on: windows-2022
683711
needs: unittest-windows

0 commit comments

Comments
 (0)