-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.cirrus.yml
85 lines (79 loc) · 2.33 KB
/
.cirrus.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
cirrus_gcc_test_task:
only_if: &default-condition >
$CIRRUS_BRANCH == 'master' ||
$CIRRUS_BRANCH == 'develop' ||
$CIRRUS_BRANCH =~ 'feature/.*' ||
$CIRRUS_BRANCH =~ 'cirrusci/.*'
auto_cancellation: true
container:
image: gcc:latest
env:
matrix:
- STDFLAG: -std=c++14
- STDFLAG: -std=c++17
- STDFLAG: -std=c++2a
version_script: make -C test showcxxversion
# NOTE: -j$((`nproc`)): Container errored with 'OOMKilled'
build_script: make -C test -j4
test_script: make -C test test
report_script: make -C test report
#cirrus_use_gtest_task:
# env:
# USE_GTEST: 1
# container:
# image: srzzumix/googletest:latest
# test_script: cd test && make -j4 showcxxversion default && make test
cirrus_use_lib_task:
only_if: *default-condition
auto_cancellation: true
env:
USE_LIB: 1
container:
image: gcc:latest
version_script: make -C test showcxxversion
# NOTE: -j$((`nproc`)): Container errored with 'OOMKilled'
build_lib_script: make -C projects/make
build_script: make -C test -j4
test_script: make -C test test
report_script: make -C test report
depends_on:
- cirrus_gcc_test
cirrus_osx_14_test_task: &osx_task
only_if: *default-condition
auto_cancellation: true
osx_instance:
image: catalina-xcode
env:
- STDFLAG: -std=c++14
version_script: make -C test showcxxversion
build_script: make -C test -j$((`getconf _NPROCESSORS_ONLN`))
test_script : make -C test test
report_script: make -C test report
cirrus_osx_17_test_task:
<<: *osx_task
env:
- STDFLAG: -std=c++17
# https://stackoverflow.com/questions/56924853/why-xcode-11-beta-cant-use-c17s-filesystem-header
# ** Comment out because the image is mojave **
# CXXFLAGS: -mmacosx-version-min=10.15
depends_on:
- cirrus_osx_14_test
# cirrus_worker_info_task:
# container:
# image: gcc:latest
# test_script: env
cirrus_freebsd_clang_test_task:
only_if: *default-condition
freebsd_instance:
image_family: freebsd-12-1-snap
# image_family: freebsd-13-0-snap
env:
matrix:
- STDFLAG: -std=c++14
- STDFLAG: -std=c++17
- STDFLAG: -std=c++2a
install_script: pkg install -y gmake
version_script: gmake --version && gmake -C test showcxxversion
build_script: gmake -C test -j4
test_script : gmake -C test test
report_script: gmake -C test report