Skip to content

Commit 8332d4b

Browse files
authored
Set up FreeBSD CI using Cirrus (#138)
The package has a binary dependency and supports FreeBSD, so FreeBSD CI seems worthwhile.
1 parent ea552c6 commit 8332d4b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.cirrus.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
freebsd_instance:
2+
image: freebsd-12-0-release-amd64
3+
freebsd_test_task:
4+
env:
5+
JULIA_VERSION: "1.0"
6+
install_script:
7+
- pkg install -y curl
8+
- mkdir -p ~/julia
9+
- curl -s -L --retry 7 "https://julialang-s3.julialang.org/bin/freebsd/x64/${JULIA_VERSION}/julia-${JULIA_VERSION}-latest-freebsd-x86_64.tar.gz" | tar -C ~/julia -x -z --strip-components=1 -f -
10+
- ln -s "${HOME}/julia/bin/julia" /usr/local/bin/julia
11+
- julia --color=yes -e "using InteractiveUtils; versioninfo()"
12+
build_script:
13+
- julia --color=yes -e "using Pkg; Pkg.add(PackageSpec(name=\"SpecialFunctions\", path=pwd()))"
14+
- julia --color=yes -e "using Pkg; Pkg.build(\"SpecialFunctions\")"
15+
test_script:
16+
- julia --color=yes -e "using Pkg; Pkg.test(\"SpecialFunctions\")"

0 commit comments

Comments
 (0)