-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Cirrus to run CI on more platforms (#46)
* Use Cirrus to run CI on more platforms * Modernise GitHub workflows * Do not Cirrus on nightly * Better script for Cirrus, from VideoIO * Autocancel GitHub Actions if there are more recent commits on branch * Use eager registry on Cirrus CI * Do not run CI with Julia v1.6 on FreeBSD
- Loading branch information
Showing
2 changed files
with
63 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
task: | ||
matrix: | ||
- name: FreeBSD | ||
freebsd_instance: | ||
image_family: freebsd-13-1 | ||
env: | ||
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager | ||
matrix: | ||
# - JULIA_VERSION: 1.6 # Has problems with libcurl | ||
- JULIA_VERSION: 1 | ||
# - JULIA_VERSION: nightly # not available | ||
- name: Linux ARMv8 | ||
arm_container: | ||
image: ubuntu:latest | ||
env: | ||
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager | ||
matrix: | ||
- JULIA_VERSION: 1.6 | ||
- JULIA_VERSION: 1 | ||
- JULIA_VERSION: nightly | ||
- name: MacOS M1 | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-monterey-base:latest | ||
env: | ||
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager | ||
matrix: | ||
# - JULIA_VERSION: 1.6 # not available | ||
- JULIA_VERSION: 1 | ||
- JULIA_VERSION: nightly | ||
|
||
allow_failures: $JULIA_VERSION == 'nightly' | ||
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} -O-)" | ||
elif command -v fetch; then | ||
sh -c "$(fetch ${URL} -o -)" | ||
else | ||
echo "No downloader installed! :( Install one! :)" | ||
fi | ||
build_script: | ||
- cirrusjl build | ||
test_script: | ||
- cirrusjl test | ||
coverage_script: | ||
- cirrusjl coverage codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
259dc04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
259dc04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/78066
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: