Update CI config (#156)

This commit is contained in:
Ian Butterworth
2025-11-16 21:01:29 -05:00
committed by GitHub
parent b67f25cc97
commit 013f11f99f
2 changed files with 41 additions and 3 deletions

View File

@@ -7,17 +7,24 @@ on:
- "master" - "master"
pull_request: pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
test: test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
version: version:
- "1.0" - "1.0"
- "lts"
- "1" # automatically expands to the latest stable 1.x release of Julia - "1" # automatically expands to the latest stable 1.x release of Julia
- nightly - "pre"
- "nightly"
os: os:
- ubuntu-latest - ubuntu-latest
- macOS-latest - macOS-latest
@@ -25,10 +32,22 @@ jobs:
arch: arch:
- x64 - x64
- x86 - x86
- aarch64
# 32-bit Julia binaries are not available on macOS # 32-bit Julia binaries are not available on macOS
# macOS runners use Apple Silicon (ARM64)
exclude: exclude:
- os: macOS-latest - os: macOS-latest
arch: x86 arch: x86
- os: macOS-latest
arch: x64
- os: ubuntu-latest
arch: aarch64
- os: windows-latest
arch: aarch64
# Julia 1.0 didn't support ARM64
- os: macOS-latest
arch: aarch64
version: "1.0"
steps: steps:
- name: Checkout Example.jl - name: Checkout Example.jl
@@ -63,7 +82,7 @@ jobs:
files: lcov.info files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }} token: ${{ secrets.CODECOV_TOKEN }}
fail-ci-if-error: true fail-ci-if-error: true
- name: Verify that test output file exists - name: Verify that test output file exists
run: test -f "$HOME/julia-runtest" run: test -f "$HOME/julia-runtest"

View File

@@ -7,17 +7,24 @@ on:
- "master" - "master"
pull_request: pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
test: test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
version: version:
- "1.6" - "1.6"
- "lts"
- "1" # automatically expands to the latest stable 1.x release of Julia - "1" # automatically expands to the latest stable 1.x release of Julia
- nightly - "pre"
- "nightly"
os: os:
- ubuntu-latest - ubuntu-latest
- macOS-latest - macOS-latest
@@ -25,10 +32,22 @@ jobs:
arch: arch:
- x64 - x64
- x86 - x86
- aarch64
# 32-bit Julia binaries are not available on macOS # 32-bit Julia binaries are not available on macOS
# macOS runners use Apple Silicon (ARM64)
exclude: exclude:
- os: macOS-latest - os: macOS-latest
arch: x86 arch: x86
- os: macOS-latest
arch: x64
- os: ubuntu-latest
arch: aarch64
- os: windows-latest
arch: aarch64
# Julia 1.6 didn't support ARM64
- os: macOS-latest
arch: aarch64
version: "1.6"
steps: steps:
- name: Checkout julia-runtest - name: Checkout julia-runtest