Skip to content

github: add 2 testing combinations back to the matrix #94

github: add 2 testing combinations back to the matrix

github: add 2 testing combinations back to the matrix #94

Workflow file for this run

name: Test
permissions:
contents: read
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
regular_test:
name: "Test (${{ matrix.compiler }}, C++${{ matrix.standard}}, ${{ matrix.mode }})"
uses: ./github/workflows/test.yaml

Check failure on line 15 in .github/workflows/tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yaml

Invalid workflow file

invalid value workflow reference: no version specified
strategy:
fail-fast: false
matrix:
# only the compilers supported by setup-cpp
compiler: [clang++-18, gcc-13]
standard: [20, 23]
mode: [dev, debug, release]
with:
compiler: ${{ matrix.compiler }}
standard: ${{ matrix.standard }}
mode: ${{ matrix.mode }}
enables: ${{ matrix.enables }}
options: ${{ matrix.options }}
build_with_dpdk:
name: "Test with DPDK enabled (${{ matrix.compiler }}, C++${{ matrix.standard}}, ${{ matrix.mode }})"
uses: ./github/workflows/test.yaml
strategy:
fail-fast: false
with:
compiler: clang++-18
standard: 23
mode: release
enables: --enable-dpdk
options: --cook dpdk --dpdk-machine haswell
build_with_cxx_modules:
name: "Test with C++20 modules enabled (${{ matrix.compiler }}, C++${{ matrix.standard}}, ${{ matrix.mode }})"
uses: ./github/workflows/test.yaml
strategy:
fail-fast: false
with:
compiler: clang++-18
standard: 23
mode: debug
enables: --enable-cxx-modules