-
Notifications
You must be signed in to change notification settings - Fork 47
78 lines (75 loc) · 3.08 KB
/
test_cpp_versions.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
name: test cpp versions
on:
pull_request:
branches:
- '**'
paths-ignore:
- '**/*.md'
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc13, clang15]
cpp_version: [14, 17, 20]
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Building (release-x86)
uses: docker://ghcr.io/nfrechette/toolchain-amd64-lunar:v1
with:
args: 'python3 make.py -ci -compiler ${{ matrix.compiler }} -config Release -cpu x86 -cpp_version ${{ matrix.cpp_version }} -build'
- name: Clean
uses: docker://ghcr.io/nfrechette/toolchain-amd64-lunar:v1
with:
args: 'python3 make.py -clean_only'
- name: Building (release-x64)
uses: docker://ghcr.io/nfrechette/toolchain-amd64-lunar:v1
with:
args: 'python3 make.py -ci -compiler ${{ matrix.compiler }} -config Release -cpu x64 -cpp_version ${{ matrix.cpp_version }} -build'
- name: Clean
uses: docker://ghcr.io/nfrechette/toolchain-amd64-lunar:v1
with:
args: 'python3 make.py -clean_only'
- name: Building (release-x64 nosimd)
uses: docker://ghcr.io/nfrechette/toolchain-amd64-lunar:v1
with:
args: 'python3 make.py -ci -compiler ${{ matrix.compiler }} -config Release -cpu x64 -cpp_version ${{ matrix.cpp_version }} -nosimd -build'
- name: Clean
uses: docker://ghcr.io/nfrechette/toolchain-amd64-lunar:v1
with:
args: 'python3 make.py -clean_only'
- name: Building (release-x64 AVX)
uses: docker://ghcr.io/nfrechette/toolchain-amd64-lunar:v1
with:
args: 'python3 make.py -ci -compiler ${{ matrix.compiler }} -config Release -cpu x64 -cpp_version ${{ matrix.cpp_version }} -avx -build'
vs2022:
runs-on: windows-2022
strategy:
matrix:
cpp_version: [14, 17, 20]
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Building (release-x86)
run: python3 make.py -ci -compiler vs2022 -config Release -cpu x86 -cpp_version ${{ matrix.cpp_version }} -build
- name: Clean
run: python3 make.py -clean_only
- name: Building (release-x64)
run: python3 make.py -ci -compiler vs2022 -config Release -cpu x64 -cpp_version ${{ matrix.cpp_version }} -build
- name: Clean
run: python3 make.py -clean_only
- name: Building (release-arm64)
run: python3 make.py -ci -compiler vs2022 -config Release -cpu arm64 -cpp_version ${{ matrix.cpp_version }} -build
- name: Clean
run: python3 make.py -clean_only
- name: Building (release-x64 nosimd)
run: python3 make.py -ci -compiler vs2022 -config Release -cpu x64 -cpp_version ${{ matrix.cpp_version }} -nosimd -build
- name: Clean
run: python3 make.py -clean_only
- name: Building (release-x64 AVX)
run: python3 make.py -ci -compiler vs2022 -config Release -cpu x64 -cpp_version ${{ matrix.cpp_version }} -avx -build