Pipeline test #4
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: Build & Test Fedora Minimal | |
on: | |
push: | |
## Build ## | |
jobs: | |
linux-fedora-minimal: | |
name: Build with minimal configuration on Fedora Linux | |
runs-on: ubuntu-latest | |
container: sogno/dpsim:dev-minimal | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Create Build Environment | |
run: mkdir build | |
- name: Cache build directory | |
uses: actions/cache@v4 | |
with: | |
path: ${{ github.workspace }}/build | |
key: build-cache-fedora-minimal-${{ github.ref }} | |
- name: Configure CMake | |
shell: bash | |
working-directory: ${{ github.workspace }}/build | |
run: cmake -DFETCH_SPDLOG=ON $GITHUB_WORKSPACE | |
- name: Build every target | |
shell: bash | |
working-directory: ${{ github.workspace }}/build | |
run: cmake --build . --parallel $(nproc) | |
## Tests ## | |
#TODO |