-
Notifications
You must be signed in to change notification settings - Fork 4
80 lines (76 loc) · 2.42 KB
/
test.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
name: Run All Tests
on:
pull_request:
branches:
- '**'
push:
branches:
- 'feature/ghi-20-inner-stuff'
jobs:
test-native:
strategy:
matrix:
# verbose labels make things easier to read in GitHub Actions
# platform gets converted to os, preset, compiler, architecture
platform:
- windows-gcc-x86_64
- windows-msvc-x86_32
- windows-msvc-x86_64
- macos-clang-x86_64
- linux-clang-x86_64
- linux-gcc-x86_64
build_shared:
- static
- shared
# convert verbose labels to usable values (which don't appear in GitHub Actions GUI)
include:
# platform -> os, preset, compiler, architecture
- platform: windows-gcc-x86_64
os: windows
preset: patomic-ci-native-unix-gcc-warning
compiler: gcc
architecture: x86_64
- platform: windows-msvc-x86_32
os: windows
preset: patomic-ci-native-windows-msvc-warning -A Win32
compiler: msvc
architecture: x86_32
- platform: windows-msvc-x86_64
os: windows
preset: patomic-ci-native-windows-msvc-warning -A x64
compiler: msvc
architecture: x86_64
- platform: macos-clang-x86_64
os: macos
preset: patomic-ci-native-unix-clang-warning
compiler: clang
architecture: x86_64
- platform: linux-clang-x86_64
os: ubuntu
preset: patomic-ci-native-unix-clang-warning
compiler: clang
architecture: x86_64
- platform: linux-gcc-x86_64
os: ubuntu
preset: patomic-ci-native-unix-gcc-warning
compiler: gcc
architecture: x86_64
uses: doodspav/patomic/.github/workflows/reusable-test-native.yml@feature/ghi-20-inner-stuff
with:
os: ${{ matrix.os }}
preset: ${{ matrix.preset }}
architecture: ${{ matrix.architecture }}
compiler: ${{ matrix.compiler }}
build_shared: ${{ matrix.build_shared }}
test-qemu:
strategy:
matrix:
os:
- macos
- ubuntu
uses: doodspav/patomic/.github/workflows/reusable-test-qemu.yml@feature/ghi-20-inner-stuff
with:
preset: some-preset
architecture: some-architecture
triple: some-triple
cmake_build_shared: ON