From 8588ac0e847d5e3bda6c25d73e5e7879e0a6e86b Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Wed, 2 Aug 2023 13:32:17 +1200 Subject: [PATCH] Create .cirrus.yml --- .cirrus.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..50c1f2e --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,25 @@ +task: + matrix: + - name: MacOS M1 + macos_instance: + image: ghcr.io/cirruslabs/macos-monterey-base:latest + env: + - JULIA_VERSION: 1 + install_script: | + URL="https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh" + set -x + if [ "$(uname -s)" = "Linux" ] && command -v apt; then + apt update + apt install -y curl + fi + if command -v curl; then + sh -c "$(curl ${URL})" + elif command -v wget; then + sh -c "$(wget ${URL} -q -O-)" + elif command -v fetch; then + sh -c "$(fetch ${URL} -o -)" + fi + build_script: + - cirrusjl build + test_script: + - cirrusjl test