Skip to content

Commit 93eed8d

Browse files
committed
Add CMake CI testrun w/o ASM
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent 46e0137 commit 93eed8d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ jobs:
139139
os: [ ubuntu-22.04, ubuntu-24.04, ubuntu-22.04-arm, ubuntu-24.04-arm ]
140140
build_type: [ '', -DCMAKE_BUILD_TYPE=Debug, -DCMAKE_BUILD_TYPE=Release, -DCMAKE_BUILD_TYPE=RelWithDebInfo, -DCMAKE_BUILD_TYPE=MinSizeRel ]
141141
cc: [ clang, gcc ]
142+
cflags: [ '', '-DLTC_CFLAGS="-DLTC_NO_ASM"']
142143
config:
143144
# Static library build
144145
- { CMAKEOPTIONS: '-DBUILD_SHARED_LIBS=Off' }
@@ -161,12 +162,12 @@ jobs:
161162
run: |
162163
mkdir build
163164
cd build
164-
CC=${{ matrix.cc }} cmake ${{ matrix.config.CMAKEOPTIONS }} ${{ matrix.build_type }} ..
165+
CC=${{ matrix.cc }} cmake ${{ matrix.config.CMAKEOPTIONS }} ${{ matrix.build_type }} ${{ matrix.cflags }} ..
165166
make -j$(nproc)
166167
- name: test
167168
run: |
168169
cd build
169-
CC=${{ matrix.cc }} cmake ${{ matrix.config.CMAKEOPTIONS }} ${{ matrix.build_type }} -DBUILD_TESTING=On ..
170+
CC=${{ matrix.cc }} cmake ${{ matrix.config.CMAKEOPTIONS }} ${{ matrix.build_type }} ${{ matrix.cflags }} -DBUILD_TESTING=On ..
170171
make -j$(nproc)
171172
ctest
172173
- name: error logs

0 commit comments

Comments
 (0)