Skip to content

Support c++20 and clang compiler #251

Support c++20 and clang compiler

Support c++20 and clang compiler #251

Workflow file for this run

name: Unit testing
on:
workflow_dispatch:
pull_request:
push:
branches: [ "master" ]
tags: [ "*" ]
jobs:
default:
uses: ./.github/workflows/reusable-testing.yml
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-20.04
- ubuntu-22.04
- macos-11
- macos-12
compiler:
- {c: gcc, cxx: g++}
- {c: clang, cxx: clang++}
build-type:
- Debug
- RelWithDebInfo
cxx-standard:
- 17
- 20
exclude:
- runs-on: ubuntu-22.04
compiler.c: clang

Check failure on line 32 in .github/workflows/testing.yml

View workflow run for this annotation

GitHub Actions / Unit testing

Invalid workflow file

The workflow is not valid. .github/workflows/testing.yml (Line: 32, Col: 13): Matrix exclude key 'compiler.c' does not match any key within the matrix
cxx-standard: 20
with:
runs-on: ${{ matrix.runs-on }}
build-type: ${{ matrix.build-type }}
cxx-standard: ${{ matrix.cxx-standard }}
c-compiler: ${{ matrix.compiler.c }}
cxx-compiler: ${{ matrix.compiler.cxx }}
valgrind:
uses: ./.github/workflows/reusable-testing.yml
strategy:
fail-fast: false
matrix:
build-type:
- Debug
- RelWithDebInfo
with:
runs-on: ubuntu-22.04
build-type: ${{ matrix.build-type }}
use-valgrind: true
sanitizers:
uses: ./.github/workflows/reusable-testing.yml
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-22.04
- macos-12
build-type:
- Debug
- RelWithDebInfo
with:
runs-on: ${{ matrix.runs-on }}
build-type: ${{ matrix.build-type }}
enable-sanitizers: true