⬆️ Bump libs/fiction from 5bc7ede
to 7d72b5a
#195
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu CI | |
on: | |
push: | |
branches: [ 'main' ] | |
paths: | |
- '**/*.hpp' | |
- '**/*.cpp' | |
- '**/*.cmake' | |
- '**/CMakeLists.txt' | |
- 'libs/**' | |
- '.github/workflows/ubuntu.yml' | |
pull_request: | |
branches: [ 'main' ] | |
paths: | |
- '**/*.hpp' | |
- '**/*.cpp' | |
- '**/*.cmake' | |
- '**/CMakeLists.txt' | |
- 'libs/**' | |
- '.github/workflows/ubuntu.yml' | |
merge_group: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build_and_test: | |
strategy: | |
matrix: | |
os: [ ubuntu-20.04, ubuntu-22.04 ] | |
compiler: [ g++-9, g++-10, clang++-10, clang++-11, clang++-12 ] | |
build_type: [ Debug, Release ] | |
exclude: | |
- os: ubuntu-22.04 | |
compiler: clang++-10 | |
name: ${{matrix.os}} with ${{matrix.compiler}} (${{matrix.build_type}} mode) | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Install libraries and the respective compiler | |
run: > | |
sudo apt-get update && | |
sudo apt-get install -yq | |
libboost-all-dev | |
libtbb-dev | |
${{matrix.compiler}} | |
- name: Clone Repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup ccache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
key: '${{matrix.os}}-${{matrix.compiler}}-${{matrix.build_type}}' | |
variant: ccache | |
save: true | |
max-size: 10G | |
- name: Create Build Environment | |
run: cmake -E make_directory ${{github.workspace}}/build | |
- name: Configure CMake | |
working-directory: ${{github.workspace}}/build | |
run: > | |
cmake ${{github.workspace}} | |
-DCMAKE_CXX_COMPILER=${{matrix.compiler}} | |
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} | |
-DCDA_TUM_SIQAD_PLUGINS_TEST=ON | |
- name: Build cda-tum-siqad-plugins | |
working-directory: ${{github.workspace}}/build | |
run: cmake --build . --config ${{matrix.build_type}} -j2 | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
# Execute tests defined by the CMake configuration. | |
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail | |
run: ctest -C ${{matrix.build_type}} --verbose |