From f171940ef2154e6cb1a150959c874c3c582cc901 Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Wed, 1 Jan 2025 16:33:43 +0800 Subject: [PATCH 1/4] ci: run julia with default arch --- .github/workflows/CI.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7ca9f23..a67f830 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -18,7 +18,7 @@ concurrency: jobs: test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} timeout-minutes: 60 permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created @@ -28,22 +28,18 @@ jobs: fail-fast: false matrix: version: - - '1.0' - - '1.6' - - '1' - # - 'nightly' + - '1.0' # compat + - 'lts' + - 'nightly' os: - ubuntu-latest - macOS-latest - windows-latest - arch: - - x64 steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 From 30ec475df926309ab4f77bd8c4d0b77ad8aa02bc Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Wed, 1 Jan 2025 16:34:30 +0800 Subject: [PATCH 2/4] ci: fix codecov-action arg name --- .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 a67f830..66e18ee 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -48,7 +48,7 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} # required fail_ci_if_error: true - file: lcov.info + files: lcov.info docs: name: Documentation From 47befd14476c1c67be74909d0eb3d7aeba8ea5cf Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Wed, 1 Jan 2025 16:41:04 +0800 Subject: [PATCH 3/4] ci: use macos-13 for julia 1.0 --- .github/workflows/CI.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 66e18ee..f75e3d4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -33,8 +33,15 @@ jobs: - 'nightly' os: - ubuntu-latest - - macOS-latest + - macOS-latest # Apple silicon - windows-latest + exclude: + # Apple Silicon need julia >= v1.8 + - os: macos-latest + version: '1.0' + include: + - os: macos-13 # Intel + version: '1.0' steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 From abaeac96c6e195442d8381ff298218b8b4334bb8 Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Wed, 1 Jan 2025 16:43:25 +0800 Subject: [PATCH 4/4] ci: remove duplicate github.event_name --- .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 f75e3d4..a02165d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -18,7 +18,7 @@ concurrency: jobs: test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }} + name: Julia ${{ matrix.version }} - ${{ matrix.os }} runs-on: ${{ matrix.os }} timeout-minutes: 60 permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created