From 4f82df5843d40224fa19b9aabefe91dda9976319 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Mon, 14 Jul 2025 15:27:59 +1200 Subject: [PATCH 1/2] Add a Julia 1.10 job to CI --- .github/workflows/ci.yml | 67 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 62 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f35efcc..6fe35ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,15 +17,72 @@ permissions: contents: read jobs: test: - name: Julia ${{ matrix.machine.version }} - ${{ matrix.machine.os }}-${{ matrix.machine.arch }} - runs-on: ${{ matrix.machine.os }} + name: Julia ${{ matrix.version }} - ${{ matrix.os }}-${{ matrix.arch }} + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - machine: + include: - version: 'nightly' os: ubuntu-latest arch: x64 + - version: '1.10' + os: ubuntu-latest + arch: x64 + - version: '1' + os: ubuntu-latest + arch: x64 + - version: '1' + os: windows-latest + arch: x64 + - version: '1' + os: ubuntu-latest + arch: x86 + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: julia-actions/cache@v1 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v4 + with: + file: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} +name: CI +on: + push: + branches: + - main + - release-* + pull_request: + types: [opened, synchronize, reopened] +concurrency: + # Skip intermediate builds: always. + # Cancel intermediate builds: only if it is a pull request build. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} +# needed to allow julia-actions/cache to delete old caches that it has created +permissions: + actions: write + contents: read +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }}-${{ matrix.arch }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + include: + - version: 'nightly' + os: ubuntu-latest + arch: x64 + - version: '1.10' + os: ubuntu-latest + arch: x64 - version: '1' os: ubuntu-latest arch: x64 @@ -39,8 +96,8 @@ jobs: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: - version: ${{ matrix.machine.version }} - arch: ${{ matrix.machine.arch }} + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} - uses: julia-actions/cache@v1 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 From c10b3d164ecf238b647c42efb62875220883b4c7 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Mon, 14 Jul 2025 15:28:56 +1200 Subject: [PATCH 2/2] Update ci.yml --- .github/workflows/ci.yml | 54 ---------------------------------------- 1 file changed, 54 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6fe35ec..84e795a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,57 +52,3 @@ jobs: with: file: lcov.info token: ${{ secrets.CODECOV_TOKEN }} -name: CI -on: - push: - branches: - - main - - release-* - pull_request: - types: [opened, synchronize, reopened] -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} -# needed to allow julia-actions/cache to delete old caches that it has created -permissions: - actions: write - contents: read -jobs: - test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }}-${{ matrix.arch }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - include: - - version: 'nightly' - os: ubuntu-latest - arch: x64 - - version: '1.10' - os: ubuntu-latest - arch: x64 - - version: '1' - os: ubuntu-latest - arch: x64 - - version: '1' - os: windows-latest - arch: x64 - - version: '1' - os: ubuntu-latest - arch: x86 - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 - with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v4 - with: - file: lcov.info - token: ${{ secrets.CODECOV_TOKEN }}