babashka/.cirrus.yml
Michiel Borkent 6ccb641210 config
2022-06-07 20:56:16 +02:00

24 lines
650 B
YAML

macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest
task:
env:
LEIN_ROOT: "true"
GRAALVM_VERSION: "22.1.0"
GRAALVM_HOME: ${HOME}/graalvm-ce-java11-22.1.0
BABASHKA_PLATFORM: macos # used in release script
BABASHKA_ARCH: aarch64
BABASHKA_TEST_ENV: native
BABASHKA_XMX: "-J-Xmx6500m"
script: |
echo "Hello World from macOS!"
git submodule init
git submodule update
sudo script/install-clojure
sudo script/install-leiningen
script/install-graalvm
export PATH=$GRAALVM_HOME/bin:$PATH
export JAVA_HOME=$GRAALVM_HOME
java -version
script/uberjar
script/compile