Skip to content

Commit 1eb1fd3

Browse files
authored
[CirrusCI] Run FreeBSD tests with Julia 1; add more platforms (#99)
* [CirrusCI] Run FreeBSD tests with Julia 1; add more platforms * Move aarch64-darwin CI to Cirrus Tests start pretty quickly on Cirrus, and we can take some heat away from JuliaEcosystem pool. * [CirrusCI] Install build tools on Alpine Linux * [CirrusCI] Install gmake on FreeBSD
1 parent 04cf899 commit 1eb1fd3

File tree

2 files changed

+46
-10
lines changed

2 files changed

+46
-10
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ steps:
5151
5252
# Finally, macOS
5353
OS="macos"
54-
for ARCH in x86_64 aarch64; do
54+
for ARCH in x86_64; do
5555
AGENT_ARCH="$${ARCH}"
5656
upload_pipeline
5757
done

.cirrus.yml

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,49 @@
1-
freebsd_instance:
2-
image: freebsd-13-1-release-amd64
31
task:
4-
name: FreeBSD
5-
env:
6-
matrix:
7-
- JULIA_VERSION: nightly
8-
install_script:
9-
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"
10-
- pkg install -y gmake
2+
matrix:
3+
- name: FreeBSD
4+
freebsd_instance:
5+
image: freebsd-13-1-release-amd64
6+
env:
7+
matrix:
8+
- JULIA_VERSION: 1
9+
- name: musl Linux
10+
container:
11+
image: alpine:3.14
12+
env:
13+
- JULIA_VERSION: 1
14+
- name: MacOS M1
15+
macos_instance:
16+
image: ghcr.io/cirruslabs/macos-monterey-base:latest
17+
env:
18+
matrix:
19+
- JULIA_VERSION: 1
20+
- JULIA_VERSION: nightly
21+
install_script: |
22+
URL="https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh"
23+
set -x
24+
if [ "$(uname -s)" = "Linux" ] && command -v apt; then
25+
apt update
26+
apt install -y curl
27+
fi
28+
if command -v curl; then
29+
sh -c "$(curl ${URL})"
30+
elif command -v wget; then
31+
sh -c "$(wget ${URL} -O-)"
32+
elif command -v fetch; then
33+
sh -c "$(fetch ${URL} -o -)"
34+
else
35+
echo "No downloader installed! :( Install one! :)"
36+
fi
37+
38+
if command -v apk; then
39+
# Install build tools on Alpine Linux
40+
apk update
41+
apk add build-base linux-headers
42+
elif command -v pkg; then
43+
# Install GNU Make on FreeBSD
44+
pkg update
45+
pkg install -y gmake
46+
fi
1147
build_script:
1248
- julia --project=test/ -e 'using Pkg; Pkg.instantiate()'
1349
test_script:

0 commit comments

Comments
 (0)