forked from NVIDIA/stdexec
-
Notifications
You must be signed in to change notification settings - Fork 0
89 lines (84 loc) · 2.62 KB
/
Copy pathci.cpu.yml
File metadata and controls
89 lines (84 loc) · 2.62 KB
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
name: CI (CPU)
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-on-${{ github.event_name }}-from-${{ github.ref_name }}
cancel-in-progress: true
jobs:
build-cpu-gcc11:
runs-on: ubuntu-latest
name: CPU (gcc 11, ubuntu 20.04)
steps:
- name: Checkout stdexec
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Build and test CPU schedulers
uses: docker://ghcr.io/trxcllnt/action-cxx-toolkit:gcc11-ubuntu20.04
with:
cc: gcc-11
checks: build test
cmakeflags: "-DSTDEXEC_ENABLE_TBB:BOOL=TRUE"
prebuild_command: |
apt update && apt install -y --no-install-recommends git libtbb-dev;
build-cpu-clang12:
runs-on: ubuntu-latest
name: CPU (clang 12, ubuntu 20.04)
steps:
- name: Checkout stdexec
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Build and test CPU schedulers
uses: docker://ghcr.io/trxcllnt/action-cxx-toolkit:clang12-ubuntu20.04
with:
cc: clang-12
checks: build test
cxxflags: "-stdlib=libc++"
cmakeflags: "-DSTDEXEC_ENABLE_TBB:BOOL=TRUE"
prebuild_command: |
apt update && apt install -y --no-install-recommends git libtbb-dev;
build-cpu-gcc11-ubuntu2204:
runs-on: ubuntu-22.04
name: CPU (gcc 11, ubuntu 22.04, TSAN)
steps:
- name: Checkout stdexec
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Build and test CPU schedulers
uses: docker://ghcr.io/trxcllnt/action-cxx-toolkit:gcc11-ubuntu22.04
with:
cc: gcc-11
checks: build test
cxxflags: "-fsanitize=thread"
prebuild_command: |
apt update && apt install -y --no-install-recommends git;
build-cpu-gcc11-ubuntu2204-asan:
runs-on: ubuntu-22.04
name: CPU (gcc 11, ubuntu 22.04, ASAN)
steps:
- name: Checkout stdexec
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Build and test CPU schedulers
uses: docker://ghcr.io/trxcllnt/action-cxx-toolkit:gcc11-ubuntu22.04
with:
cc: gcc-11
checks: build test
cxxflags: "-fsanitize=address"
prebuild_command: |
apt update && apt install -y --no-install-recommends git;
ci-cpu:
runs-on: ubuntu-latest
name: CI (CPU)
needs:
- build-cpu-gcc11
- build-cpu-clang12
- build-cpu-gcc11-ubuntu2204
steps:
- run: echo "CI (CPU) success"