Skip to content

Commit

Permalink
CICD tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
makepath-alex committed Nov 21, 2024
1 parent 7cbbe57 commit 0bb532b
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,19 @@ jobs:
#
# Build libraries, examples and tests
#
- name: Build libraries
- name: Build libraries and tests
run: |
$FC --version
mkdir build_libs
cmake -S . -B build_libs -DCMAKE_Fortran_COMPILER=$FC
mkdir -p build_libs
cmake -S . -B build_libs -DENABLE_TESTS=ON -DCMAKE_Fortran_COMPILER=$FC
cmake --build build_libs --config Release -- -j8
#
# Run examples and tests
#
- name: Build and run examples and tests
- name: Run examples and tests
run: |
mkdir build_tests
cd build_tests
cmake .. -DENABLE_TESTS=ON -DCMAKE_Fortran_COMPILER=$FC
cmake --build . --config Release -- -j8
ctest -v
cd build_libs
ctest --verbose
#
# Compare the results
#
Expand Down

0 comments on commit 0bb532b

Please sign in to comment.