Skip to content

Commit

Permalink
Use Cirrus to test Krylov.jl with Apple M1
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison authored Dec 21, 2022
1 parent e965ad5 commit 12b4ab6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 42 deletions.
48 changes: 37 additions & 11 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,41 @@
freebsd_instance:
image: freebsd-13-0-release-amd64
task:
name: FreeBSD
env:
matrix:
- JULIA_VERSION: 1.6
- JULIA_VERSION: 1
- JULIA_VERSION: nightly
allow_failures: $JULIA_VERSION == 'nightly'
install_script:
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"
matrix:
- name: FreeBSD
freebsd_instance:
image_family: freebsd-13-1
env:
matrix:
- JULIA_VERSION: 1.6
- JULIA_VERSION: 1
- name: Linux ARMv8
arm_container:
image: ubuntu:latest
env:
- JULIA_VERSION: 1
- name: musl Linux
container:
image: alpine:3.14
env:
- 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
build_script:
- cirrusjl build
test_script:
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/CI_M1.yml

This file was deleted.

0 comments on commit 12b4ab6

Please sign in to comment.