From f90ceb2a6cd0b57d0c62deec62cf10bd4e6b148a Mon Sep 17 00:00:00 2001 From: Jesper Stemann Andersen Date: Sat, 2 Nov 2024 11:04:31 +0100 Subject: [PATCH] CI: Expanded testing to include julia LTS versions Expanded testing to include both current, and previous LTS versions, in addition to the current stable version - on all 64-bit tier 1 CPU archs. Also added macOS (not just macOS on aarch64 using current stable version). Also, fixed invalidations by using julia 1.10. Also, fixes test target for (ubuntu-latest, x86, 1), as the arch was not passed to setup-julia - so tests were not running on a 32-bit Julia. --- .github/workflows/Invalidations.yml | 2 +- .github/workflows/test.yml | 21 ++++++++++++++++----- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/Invalidations.yml b/.github/workflows/Invalidations.yml index 2e4dd31..bec61bc 100644 --- a/.github/workflows/Invalidations.yml +++ b/.github/workflows/Invalidations.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: julia-actions/setup-julia@v2 with: - version: '1' + version: '1.10' - uses: actions/checkout@v4 - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a760b54..2dca83b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,21 +21,31 @@ jobs: matrix: version: - '1' # Current stable version + - lts # Current LTS version + - '1.6' # Previous LTS version os: + - macOS-13 # x64 runner + - macOS-latest # aarch64 runner - ubuntu-latest - windows-latest arch: + - aarch64 - x64 - include: + exclude: + - os: macOS-13 + arch: aarch64 + - os: macOS-latest + arch: x64 - os: macOS-latest + version: '1.6' + - os: ubuntu-latest arch: aarch64 - version: '1' + - os: windows-latest + arch: aarch64 + include: - os: ubuntu-latest arch: x86 version: '1' - - os: ubuntu-latest - arch: x64 - version: '1.6' - os: ubuntu-latest arch: x64 version: 'nightly' @@ -53,6 +63,7 @@ jobs: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: + arch: ${{ matrix.arch }} version: ${{ matrix.version }} show-versioninfo: true - uses: julia-actions/cache@v2