-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
36 lines (32 loc) · 1.25 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
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest
task:
skip: "changesIncludeOnly('logo/*', '**.md')"
env:
LEIN_ROOT: "true"
GRAALVM_VERSION: "22.3.0"
GRAALVM_HOME: ${HOME}/graalvm-ce-java11-22.3.0/Contents/Home
BABASHKA_PLATFORM: macos # used in release script
BABASHKA_ARCH: aarch64
BABASHKA_TEST_ENV: native
BABASHKA_XMX: "-J-Xmx6500m"
GITHUB_TOKEN: ENCRYPTED[c988eca73b9ce622c262f1dbd01fe31f77de5a438a00643d62fed97dd6221d5c14a37faee3b9d0dbc573efadbc05ec99]
script: |
sudo script/install-clojure
sudo script/install-leiningen
script/install-graalvm
export PATH=$GRAALVM_HOME/bin:$PATH
export JAVA_HOME=$GRAALVM_HOME
sudo /usr/sbin/softwareupdate --install-rosetta --agree-to-license
java -version
script/compile
# script/test
# script/run_lib_tests
VERSION=$(cat resources/POD_BABASHKA_INSTAPARSE_VERSION)
arch=${BABASHKA_ARCH:-amd64}
archive="pod-babashka-instaparse-$VERSION-$BABASHKA_PLATFORM-$arch.zip"
zip "$archive" pod-babashka-instaparse
bash <(curl https://raw.githubusercontent.com/babashka/babashka/master/install) --dir .
./bb release-artifact --file "$archive" || true
binaries_artifacts:
path: "pod-babashka-instaparse*.zip"