-
-
Notifications
You must be signed in to change notification settings - Fork 1
93 lines (76 loc) · 1.99 KB
/
ci_ubuntu2204.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
name: Ubuntu 22.04
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:
concurrency:
group: ubuntu2204-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}
env:
TZ: Europe/Berlin
defaults:
run:
shell: bash -Eexuo pipefail {0}
jobs:
build:
name: ${{ matrix.name }}
runs-on: ubuntu-22.04
timeout-minutes: 120
strategy:
fail-fast: true
matrix:
include:
- name: "gcc12 (c++17)"
compiler: "gcc-12"
build_type: Release
cpp: 17
- name: "gcc11 (c++17)"
compiler: "gcc-11"
build_type: Release
cpp: 17
- name: "gcc10 (c++17)"
compiler: "gcc-10"
build_type: Release
cpp: 17
- name: "clang14 (c++17)"
compiler: "clang-14"
build_type: Release
cpp: 17
- name: "clang17 (c++23)"
compiler: "clang-17"
build_type: Release
cpp: 23
- name: "gcc12 (c++20)"
compiler: "gcc-12"
build_type: Release
cpp: 20
- name: "gcc11 (c++20)"
compiler: "gcc-11"
build_type: Release
cpp: 20
- name: "gcc10 (c++20)"
compiler: "gcc-10"
build_type: Release
cpp: 20
- name: "gcc12 (c++23)"
compiler: "gcc-12"
build_type: Release
cpp: 23
steps:
- name: Checkout cwl-cpp-auto
uses: actions/checkout@v4
with:
path: repo
fetch-depth: 2
- name: Setup compiler
uses: seqan/actions/setup-compiler@main
with:
compiler: ${{ matrix.compiler }}
- name: Install dependencies
run: sudo apt-get install libyaml-cpp-dev
- name: Build and Run tests
run: |
cd repo
make tests CXXFLAGS=-std=c++${{ matrix.cpp }}