forked from ponylang/ponyc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
74 lines (60 loc) · 2.38 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
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.x
- LLVM_CONFIG=llvm-config70 gmake test-ci config=release default_ssl=openssl_1.1.x
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.x
- LLVM_CONFIG=llvm-config70 gmake test-ci config=debug default_ssl=openssl_1.1.x
task:
osx_instance:
image: high-sierra-xcode-9.4.1
name: "macOS-release"
install_script:
- curl -o macports.pkg https://distfiles.macports.org/MacPorts/MacPorts-2.5.4-10.13-HighSierra.pkg
- sudo installer -verbose -pkg macports.pkg -target /
- sudo /opt/local/bin/port selfupdate
- sudo /opt/local/bin/port install llvm-7.0 pcre2
test_script:
- export LDFLAGS="-L/opt/local/lib"
- export PATH=/usr/local/opt/llvm/bin/:$PATH
- export CC1=clang
- export CXX1=clang++
- export LLVM_CONFIG=/opt/local/bin/llvm-config-mp-7.0
- 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:
- curl -o macports.pkg https://distfiles.macports.org/MacPorts/MacPorts-2.5.4-10.13-HighSierra.pkg
- sudo installer -verbose -pkg macports.pkg -target /
- sudo /opt/local/bin/port selfupdate
- sudo /opt/local/bin/port install llvm-7.0 pcre2
test_script:
- export LDFLAGS="-L/opt/local/lib"
- export PATH=/usr/local/opt/llvm/bin/:$PATH
- export CC1=clang
- export CXX1=clang++
- export LLVM_CONFIG=/opt/local/bin/llvm-config-mp-7.0
- 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