Skip to content

Commit

Permalink
Simplify Cirrus config (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpo authored Jul 7, 2024
1 parent 4db2e1b commit f1b4fb6
Showing 1 changed file with 8 additions and 27 deletions.
35 changes: 8 additions & 27 deletions template/{% if UseCirrusCI %}.cirrus.yml{% endif %}.jinja
Original file line number Diff line number Diff line change
@@ -1,31 +1,12 @@
freebsd_instance:
image_family: freebsd-13-3
task:
matrix:
- name: FreeBSD
freebsd_instance:
image_family: freebsd-13-2
env:
matrix:
- JULIA_VERSION: {{ JuliaMinVersion }}
- JULIA_VERSION: 1
- 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
name: FreeBSD
env:
matrix:
- JULIA_VERSION: 1
install_script:
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"
build_script:
- cirrusjl build
test_script:
Expand Down

0 comments on commit f1b4fb6

Please sign in to comment.