From dc8869728ed54c30199aa424541c78db9b23211e Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Mon, 2 Dec 2024 11:13:03 +0800 Subject: [PATCH 1/6] ci: test with lts version --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index aa3d119..2e2e0f0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -28,7 +28,7 @@ jobs: - 'x64' - 'x86' julia-version: - - '1.6' + - 'lts' - 'nightly' exclude: - os: macos-13 # Intel From 8e583d6d3f0cc98a58b507fa36a62167d1c0c40f Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Mon, 2 Dec 2024 11:20:33 +0800 Subject: [PATCH 2/6] ci: add macos-aarch64 --- .github/workflows/CI.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2e2e0f0..24c1808 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -33,6 +33,13 @@ jobs: exclude: - os: macos-13 # Intel julia-arch: x86 + include: + - os: macos-latest # Apple Silicon + julia-arch: 'aarch64' + julia-version: 'lts' + - os: macos-latest # Apple Silicon + julia-arch: 'aarch64' + julia-version: 'nightly' steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest From 9b79912cc67c74ef6f0f22d3a3c543fe9b2ab622 Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Sat, 14 Dec 2024 19:24:28 +0800 Subject: [PATCH 3/6] ci: add julia-actions/cache --- .github/workflows/CI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 24c1808..3d2981f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -46,6 +46,7 @@ jobs: with: version: ${{ matrix.julia-version }} arch: ${{ matrix.julia-arch }} + - uses: julia-actions/cache@v2 # Alter the UUID so that we test this package instead of loading # the version that is already built into a Julia's system image. - run: julia --color=yes .ci/test_and_change_uuid.jl From 7e4d311d30eed9483d14de3fb79ad36326a7c9b7 Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Sat, 14 Dec 2024 19:25:04 +0800 Subject: [PATCH 4/6] ci: remove unused arg in julia-actions/julia-processcoverage --- .github/workflows/CI.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3d2981f..a5d509b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -53,8 +53,6 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - env: - JULIA_PKG_SERVER: ${{ matrix.pkg-server }} - uses: codecov/codecov-action@v5 with: files: lcov.info From d49e649132e8dcf3385dabaae225bb22b7ad6b1f Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Sat, 14 Dec 2024 19:25:34 +0800 Subject: [PATCH 5/6] ci: add token for codecov/codecov-action --- .github/workflows/CI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a5d509b..d3f5ab8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -55,6 +55,7 @@ jobs: - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v5 with: + token: ${{ secrets.CODECOV_TOKEN }} files: lcov.info doctests: runs-on: ubuntu-latest From cae6d638f3847681d86246fede56f5b115a115c3 Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Sat, 14 Dec 2024 19:27:12 +0800 Subject: [PATCH 6/6] ci: add permissions need by julia-actions/cache --- .github/workflows/CI.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d3f5ab8..44fd0a4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -17,6 +17,10 @@ jobs: test: runs-on: ${{ matrix.os }} timeout-minutes: 60 + permissions: + # needed to allow julia-actions/cache to proactively delete old caches that it has created + actions: write + contents: read strategy: fail-fast: false matrix: