This repository has been archived by the owner on Jan 14, 2023. It is now read-only.
forked from ponylang/ponyc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
103 lines (74 loc) · 2.82 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#
# Nightly build tasks
#
task:
container:
image: ponylang/ponyc-ci-x86-64-unknown-linux-gnu-builder:20191105
cpu: 8
memory: 24
name: "nightly: x86-64-unknown-linux-gnu"
environment:
CLOUDSMITH_API_KEY: ENCRYPTED[!2cb1e71c189cabf043ac3a9030b3c7708f9c4c983c86d07372ae58ad246a07c54e40810d038d31c3cf3ed8888350caca!]
nightly_script:
- bash .ci-scripts/x86-64-unknown-linux-gnu-nightly.bash ${CLOUDSMITH_API_KEY}
only_if: $CIRRUS_API_CREATED == "true"
task:
container:
image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20191105
cpu: 8
memory: 24
name: "nightly: x86-64-unknown-linux-musl"
environment:
CLOUDSMITH_API_KEY: ENCRYPTED[!2cb1e71c189cabf043ac3a9030b3c7708f9c4c983c86d07372ae58ad246a07c54e40810d038d31c3cf3ed8888350caca!]
nightly_script:
- bash .ci-scripts/x86-64-unknown-linux-musl-nightly.bash ${CLOUDSMITH_API_KEY}
only_if: $CIRRUS_API_CREATED == "true"
#
# Pull Request Tasks
#
task:
container:
image: ponylang/ponyc-ci-x86-64-unknown-linux-gnu-builder:20191105
cpu: 8
memory: 24
name: "PR: x86-64-unknown-linux-gnu"
test_script:
- make -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release -j8
- make -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release test-ci
only_if: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH != 'release' && $CIRRUS_API_CREATED != "true"
task:
container:
image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20191105
cpu: 8
memory: 24
name: "PR: x86-64-unknown-linux-musl"
test_script:
- make -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release link=static -j8
- make -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release link=static test-ci
only_if: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH != 'release' && $CIRRUS_API_CREATED != "true"
task:
freebsd_instance:
image: freebsd-12-0-release-amd64
cpu: 8
memory: 24
name: "PR: x86-64-unknown-freebsd12.0"
install_script:
- echo "FETCH_RETRY = 6" >> /usr/local/etc/pkg.conf
- pkg update
- pkg install -y cmake gmake libunwind git
test_script:
- gmake -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release -j8
- gmake -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release test-ci
only_if: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH != 'release' && $CIRRUS_API_CREATED != "true"
task:
osx_instance:
image: mojave-xcode-11.2.1
name: "PR: macOS"
install_script:
- brew install coreutils
test_script:
- export CC1=clang
- export CXX1=clang++
- make -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release -j8
- make -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release test-ci
only_if: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH != 'release' && $CIRRUS_API_CREATED != "true"