Bump submodules/spdlog from 27cb4c7 to 3f03542
#335
Workflow file for this run
This file contains hidden or 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 of the workflow | |
| name: CI | |
| # Controls when the action will run. Triggers the workflow on push or pull request | |
| # events but only for the main and stable branches | |
| on: | |
| push: | |
| branches: [ main, stable ] | |
| pull_request: | |
| branches: [ main, stable ] | |
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
| jobs: | |
| # Main building and testing | |
| build-test: | |
| # The type of runner that the job will run on | |
| # Should also be able to run on aarch64 with ubuntu-24.04-arm, but | |
| # cannot get that to work in the matrix, weirdly | |
| runs-on: ubuntu-latest | |
| # Define the platforms to run on. Later determines the Docker image to be used | |
| strategy: | |
| matrix: | |
| platform: [ almalinux:8, almalinux:9, almalinux:10, ubuntu:22.04, ubuntu:24.04 ] | |
| compiler: [ gcc ] | |
| include: | |
| # On Alma 9 we also test clang | |
| - platform: almalinux:9 | |
| compiler: clang | |
| # Steps represent a sequence of tasks that will be executed as part of the job | |
| steps: | |
| # Checks-out our repository under $GITHUB_WORKSPACE, so our job can access it | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| # Sets up useful environment variables | |
| - name: Setup environment variables | |
| run: | | |
| echo "DIMAGE=$PLATFORM" >> $GITHUB_ENV | |
| echo "PLATFORM=$PLATFORM" >> $GITHUB_ENV | |
| echo "COMPILER=$COMPILER" >> $GITHUB_ENV | |
| env: | |
| PLATFORM: ${{ matrix.platform }} | |
| COMPILER: ${{ matrix.compiler }} | |
| # Pulls the associated Docker image | |
| - name: Docker pull | |
| run: docker pull $DIMAGE | |
| # Builds the code and runs the test | |
| # The exact docker command can be tuned to specific images | |
| - name: Build and test | |
| run: | | |
| echo "Starting run for $PLATFORM, compiler suite $COMPILER" | |
| if [[ $DIMAGE =~ (c8-dev|almalinux|ubuntu) ]] | |
| then | |
| docker run -e PLATFORM -e COMPILER -v $(pwd):/mnt $DIMAGE /mnt/.github/scripts/build-test.sh; | |
| else | |
| echo "Unkown Docker Image: $DIMAGE"; | |
| fi |