Skip to content

Commit bd4e1cd

Browse files
committed
Simplify .cirrus.yml
1 parent 456e0d8 commit bd4e1cd

File tree

1 file changed

+8
-21
lines changed

1 file changed

+8
-21
lines changed

.cirrus.yml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
1+
freebsd_instance:
2+
image_family: freebsd-14-2
13
task:
2-
matrix:
3-
- name: FreeBSD
4-
freebsd_instance:
5-
image_family: freebsd-14-2
6-
env:
7-
matrix:
8-
- JULIA_VERSION: 1
9-
install_script: |
10-
URL="https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh"
11-
set -x
12-
if [ "$(uname -s)" = "Linux" ] && command -v apt; then
13-
apt update
14-
apt install -y curl
15-
fi
16-
if command -v curl; then
17-
sh -c "$(curl ${URL})"
18-
elif command -v wget; then
19-
sh -c "$(wget ${URL} -q -O-)"
20-
elif command -v fetch; then
21-
sh -c "$(fetch ${URL} -o -)"
22-
fi
4+
name: FreeBSD
5+
env:
6+
matrix:
7+
- JULIA_VERSION: 1
8+
install_script:
9+
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"
2310
build_script:
2411
- cirrusjl build
2512
test_script:

0 commit comments

Comments
 (0)