Skip to content

Commit

Permalink
Run tests for CMake Ubuntu runner
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback committed Nov 18, 2023
1 parent 097aebd commit e9577a5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ jobs:
# ubuntu with gcc and cmake (no checks)
#############################################################################
ubuntu-cmake-gcc:
name: Ubuntu GCC, CMake (no checks)
name: Ubuntu GCC, CMake (1x)

runs-on: ubuntu-latest

Expand Down Expand Up @@ -415,12 +415,17 @@ jobs:
cmake -G"Unix Makefiles" -DWITH_NTL=no -DBUILD_TESTING=yes \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=${LOCAL} ..
- name: "Compile library"
- name: "Compile library and tests"
run: |
cd build
$MAKE
ldd lib/libflint.so
- name: "Run tests"
run: |
cd build
ctest -j$(expr $(nproc) + 1) --output-on-failure --timeout 450
#############################################################################
Expand Down

0 comments on commit e9577a5

Please sign in to comment.