forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (45 loc) · 1.4 KB
/
tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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
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