Skip to content

Enable ci jobs again. #402

Enable ci jobs again.

Enable ci jobs again. #402

Workflow file for this run

name: Linux
on:
push:
paths-ignore:
- 'README.md'
- 'doc/**'
pull_request:
paths-ignore:
- 'README.md'
- 'doc/**'
jobs:
linux:
strategy:
fail-fast: false
matrix:
compiler:
- g++-10
- g++-11
- g++-12
- g++-13
- clang++-13
- clang++-14
- clang++-15
- clang++-16
- clang++-17
build_type: [Debug, Release]
runs-on: ubuntu-latest
env:
CXX: ${{ matrix.compiler }}
steps:
- uses: actions/checkout@v4
- 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-old:
strategy:
fail-fast: false
matrix:
compiler:
- g++-10
- g++-11
- clang++-10
- clang++-11
- clang++-12
- clang++-13
- clang++-14
- clang++-15
build_type: [Debug, Release]
runs-on: ubuntu-20.04
env:
CXX: ${{ matrix.compiler }}
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update -y
- run: sudo apt-get install -y ${{ matrix.compiler }}
- 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-latest
steps:
- uses: actions/checkout@v4
- 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-latest
env:
CXX: clang++
steps:
- uses: actions/checkout@v4
- 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