Skip to content

Fix failed CI builds by updating their configuration #419

Fix failed CI builds by updating their configuration

Fix failed CI builds by updating their configuration #419

Workflow file for this run

name: Linux
on:
push:
paths-ignore:
- 'README.md'
- 'doc/**'
pull_request:
paths-ignore:
- 'README.md'
- 'doc/**'
jobs:
linux-ubuntu-24.04:

Check failure on line 14 in .github/workflows/linux.yml

View workflow run for this annotation

GitHub Actions / Linux

Invalid workflow file

The workflow is not valid. .github/workflows/linux.yml (Line: 14, Col: 3): The identifier 'linux-ubuntu-24.04' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters. .github/workflows/linux.yml (Line: 46, Col: 3): The identifier 'linux-ubuntu-22.04' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
strategy:
fail-fast: false
matrix:
compiler:
- g++-12
- g++-13
- g++-14
- clang++-16
- clang++-17
- clang++-18
build_type: [Debug, Release]
runs-on: ubuntu-24.04
env:
CXX: ${{ matrix.compiler }}
steps:
- uses: actions/checkout@v3
- run: cmake -E make_directory build
- working-directory: build/
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
- working-directory: build/
run: cmake --build .
- working-directory: build/
run: ctest --output-on-failure
linux-ubuntu-22.04:
strategy:
fail-fast: false
matrix:
compiler:
- clang++-13
- clang++-14
- clang++-15
build_type: [Debug, Release]
runs-on: ubuntu-22.04
env:
CXX: ${{ matrix.compiler }}
steps:
- uses: actions/checkout@v3
- run: cmake -E make_directory build
- working-directory: build/
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
- working-directory: build/
run: cmake --build .
- working-directory: build/
run: ctest --output-on-failure
linux-gcc-extra:
strategy:
fail-fast: false
matrix:
flags: ["-fno-rtti", "-fno-exceptions"]
build_type: [Debug, Release]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- run: cmake -E make_directory build
- working-directory: build/
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_FLAGS="${{ matrix.flags }}"
- working-directory: build/
run: cmake --build .
- working-directory: build/
run: ctest --output-on-failure
linux-clang-extra:
strategy:
fail-fast: false
matrix:
flags: ["-fno-rtti", "-fno-exceptions", "-fms-extensions"]
build_type: [Debug, Release]
runs-on: ubuntu-24.04
env:
CXX: clang++
steps:
- uses: actions/checkout@v3
- run: cmake -E make_directory build
- working-directory: build/
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_FLAGS="${{ matrix.flags }}"
- working-directory: build/
run: cmake --build .
- working-directory: build/
run: ctest --output-on-failure