forked from ponylang/ponyc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
72 lines (58 loc) · 1.94 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
task:
freebsd_instance:
image: freebsd-12-0-release-amd64
name: "freebsd-12-release"
install_script:
- echo "FETCH_RETRY = 6" >> /usr/local/etc/pkg.conf
- pkg update
- pkg install -y gmake pcre2 libunwind llvm70 git
test_script:
- LLVM_CONFIG=llvm-config70 gmake all config=release -j3 default_ssl=openssl_1.1.0
- LLVM_CONFIG=llvm-config70 gmake test-ci config=release default_ssl=openssl_1.1.0
task:
freebsd_instance:
image: freebsd-12-0-release-amd64
name: "freebsd-12-debug"
depends_on:
- freebsd-12-release
install_script:
- echo "FETCH_RETRY = 6" >> /usr/local/etc/pkg.conf
- pkg update
- pkg install -y gmake pcre2 libunwind llvm70 git
test_script:
- LLVM_CONFIG=llvm-config70 gmake all config=debug -j3 default_ssl=openssl_1.1.0
- LLVM_CONFIG=llvm-config70 gmake test-ci config=debug default_ssl=openssl_1.1.0
task:
osx_instance:
image: high-sierra-xcode-9.4.1
name: "macOS-release"
install_script:
- brew update
- brew install pcre2
- brew install libressl
- brew install llvm
test_script:
- export PATH=/usr/local/opt/llvm/bin/:$PATH
- export CC1=clang
- export CXX1=clang++
- export LLVM_CONFIG=llvm-config
- make LLVM_CONFIG="$LLVM_CONFIG" CC="$CC1" CXX="$CXX1" -j$(sysctl -n hw.ncpu) config=release all
- make LLVM_CONFIG="$LLVM_CONFIG" CC="$CC1" CXX="$CXX1" config=release test-ci
task:
osx_instance:
image: high-sierra-xcode-9.4.1
name: "macOS-debug"
depends_on:
- macOS-release
install_script:
- brew update
- brew install pcre2
- brew install libressl
- brew install llvm
test_script:
- export PATH=/usr/local/opt/llvm/bin/:$PATH
- export CC1=clang
- export CXX1=clang++
- export LLVM_CONFIG=llvm-config
- make LLVM_CONFIG="$LLVM_CONFIG" CC="$CC1" CXX="$CXX1" -j$(sysctl -n hw.ncpu) config=debug all
- make LLVM_CONFIG="$LLVM_CONFIG" CC="$CC1" CXX="$CXX1" config=debug test-ci