Skip to content

Commit 8f2c1a8

Browse files
authored
[CI] Move aarch64-linux to GitHub Actions and add more versions (#76)
* [CI] Move aarch64-linux to GitHub Actions and add more versions * [CI] CirrusCI: skip code coverage (it's very slow) * [CI] CirrusCI: skip older julia versions (git cloning fails)
1 parent ecaba50 commit 8f2c1a8

File tree

2 files changed

+47
-12
lines changed

2 files changed

+47
-12
lines changed

.cirrus.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@ task:
22
matrix:
33
- name: FreeBSD
44
freebsd_instance:
5-
image_family: freebsd-13-1
6-
- name: Linux ARMv8
7-
arm_container:
8-
image: ubuntu:latest
5+
image_family: freebsd-14-2
96
env:
107
matrix:
11-
- JULIA_VERSION: 1.3
12-
- JULIA_VERSION: 1.4
8+
# - JULIA_VERSION: 1.3
9+
# - JULIA_VERSION: 1.4
1310
- JULIA_VERSION: 1.5
1411
- JULIA_VERSION: 1.6
1512
- JULIA_VERSION: 1.7
13+
- JULIA_VERSION: 1.8
14+
- JULIA_VERSION: 1.9
15+
- JULIA_VERSION: 1.10
1616
- JULIA_VERSION: 1
1717
- JULIA_VERSION: nightly
1818
allow_failures: $JULIA_VERSION == 'nightly'
1919
install_script: |
2020
URL="https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh"
2121
set -x
22-
if command -v apt; then
22+
if [ "$(uname -s)" = "Linux" ] && command -v apt; then
2323
apt update
2424
apt install -y curl
2525
fi
26-
if [ ! -z "$(which curl)" ]; then
26+
if command -v curl; then
2727
sh -c "$(curl ${URL})"
28-
elif [ ! -z "$(which wget)" ]; then
28+
elif command -v wget; then
2929
sh -c "$(wget ${URL} -O-)"
3030
elif command -v fetch; then
3131
sh -c "$(fetch ${URL} -o -)"
@@ -36,5 +36,5 @@ task:
3636
- cirrusjl build
3737
test_script:
3838
- cirrusjl test
39-
coverage_script:
40-
- cirrusjl coverage codecov
39+
# coverage_script:
40+
# - cirrusjl coverage codecov

.github/workflows/ci.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
tags: ["*"]
77
pull_request:
88

9+
concurrency:
10+
# Skip intermediate builds: all builds except for builds on the `master` branch
11+
# Cancel intermediate builds: only pull request builds
12+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }}
13+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
14+
915
jobs:
1016
test:
1117
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }}
@@ -21,23 +27,52 @@ jobs:
2127
- "1.7"
2228
- "1.8"
2329
- "1.9"
30+
- "1.10"
2431
- "1"
2532
- "nightly"
2633
os:
2734
- ubuntu-latest
35+
- ubuntu-22.04-arm
36+
- macos-13
2837
- macos-latest
2938
- windows-latest
3039
julia-arch:
3140
- x64
3241
- x86
42+
- aarch64
3343
exclude:
34-
# 32-bit Julia binaries are not available on macOS
44+
# Exclude all incompatible os/architecture combinations
3545
- os: macOS-latest
3646
julia-arch: x86
47+
- os: macOS-13
48+
julia-arch: x86
49+
- os: macOS-13
50+
julia-arch: aarch64
51+
- os: macOS-latest
52+
julia-arch: x64
53+
- os: ubuntu-latest
54+
julia-arch: aarch64
55+
- os: windows-latest
56+
julia-arch: aarch64
57+
- os: ubuntu-22.04-arm
58+
julia-arch: x86
59+
- os: ubuntu-22.04-arm
60+
julia-arch: x64
3761
# There seems to be an issue with Julia v1.4 on macOS:
3862
# https://github.com/JuliaPackaging/JLLWrappers.jl/pull/67#issuecomment-2321873551
63+
- os: macOS-13
64+
julia-version: 1.4
65+
# aarch64-darwin isn't available on old releases
66+
- os: macOS-latest
67+
julia-version: 1.3
3968
- os: macOS-latest
4069
julia-version: 1.4
70+
- os: macOS-latest
71+
julia-version: 1.5
72+
- os: macOS-latest
73+
julia-version: 1.6
74+
- os: macOS-latest
75+
julia-version: 1.7
4176

4277
steps:
4378
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)