From 013f11f99feb55b5e4ce1a2c23dce7e9d2d2f2a6 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Sun, 16 Nov 2025 21:01:29 -0500 Subject: [PATCH] Update CI config (#156) --- .github/workflows/ci.yml | 23 +++++++++++++++++++++-- .github/workflows/test_logger_ci.yml | 21 ++++++++++++++++++++- 2 files changed, 41 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f53ed31..2a94adf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,17 +7,24 @@ on: - "master" pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} + timeout-minutes: 5 strategy: fail-fast: false matrix: version: - "1.0" + - "lts" - "1" # automatically expands to the latest stable 1.x release of Julia - - nightly + - "pre" + - "nightly" os: - ubuntu-latest - macOS-latest @@ -25,10 +32,22 @@ jobs: arch: - x64 - x86 + - aarch64 # 32-bit Julia binaries are not available on macOS + # macOS runners use Apple Silicon (ARM64) exclude: - os: macOS-latest 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: - name: Checkout Example.jl @@ -63,7 +82,7 @@ jobs: files: lcov.info token: ${{ secrets.CODECOV_TOKEN }} fail-ci-if-error: true - + - name: Verify that test output file exists run: test -f "$HOME/julia-runtest" diff --git a/.github/workflows/test_logger_ci.yml b/.github/workflows/test_logger_ci.yml index 90480e4..5de3b7d 100644 --- a/.github/workflows/test_logger_ci.yml +++ b/.github/workflows/test_logger_ci.yml @@ -7,17 +7,24 @@ on: - "master" pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} + timeout-minutes: 5 strategy: fail-fast: false matrix: version: - "1.6" + - "lts" - "1" # automatically expands to the latest stable 1.x release of Julia - - nightly + - "pre" + - "nightly" os: - ubuntu-latest - macOS-latest @@ -25,10 +32,22 @@ jobs: arch: - x64 - x86 + - aarch64 # 32-bit Julia binaries are not available on macOS + # macOS runners use Apple Silicon (ARM64) exclude: - os: macOS-latest 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: - name: Checkout julia-runtest