-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
.cirrus.yml
33 lines (28 loc) · 977 Bytes
/
.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
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest
task:
env:
LEIN_ROOT: "true"
GRAALVM_VERSION: "22.3.0"
GRAALVM_HOME: ${HOME}/graalvm-ce-java11-22.3.0/Contents/Home
JET_PLATFORM: macos # used in release script
JET_ARCH: aarch64
JET_TEST_ENV: native
GITHUB_TOKEN: ENCRYPTED[!2542f8eaef6c92f10eae1d5113838d473d5b8ef8affc17e7257cc5b137fae3f12b5d91ab9f8f97a9dc258fd47291e952!]
script: |
ls script
sudo script/install-clojure
sudo script/install-leiningen
script/install-graalvm
export PATH=$GRAALVM_HOME/bin:$PATH
java -version
script/compile
script/test
VERSION=$(cat resources/JET_VERSION)
arch=${JET_ARCH:-amd64}
archive="jet-$VERSION-$JET_PLATFORM-$arch.tar.gz"
tar zcvf "$archive" jet
sudo bash < <(curl -s https://raw.githubusercontent.com/babashka/babashka/master/install)
bb release-artifact "$archive" || true
binaries_artifacts:
path: "jet-*.tar.gz"