-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.cirrus.yml
34 lines (30 loc) · 1.06 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
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-java17-22.3.0/Contents/Home
APP_PLATFORM: macos # used in release script
APP_ARCH: aarch64
APP_TEST_ENV: native
script: |
sudo script/install-clojure /usr/local
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_BUDDY_VERSION)
arch=${APP_ARCH:-amd64}
archive="pod-babashka-buddy-$VERSION-$APP_PLATFORM-$arch.zip"
zip "$archive" pod-babashka-buddy
bash <(curl https://raw.githubusercontent.com/babashka/babashka/master/install) --dir .
./bb release-artifact --file "$archive" || true
binaries_artifacts:
path: "pod-babashka-buddy*.zip"