Skip to content

Commit 2929677

Browse files
authored
Merge pull request #20 from WC2001/fix/CI
Fixed CI setup.
2 parents 3b27834 + 86c5d3e commit 2929677

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/workflows/CI.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ concurrency:
1414

1515
jobs:
1616
test:
17-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
18-
runs-on: ${{ matrix.os }}
17+
name: Julia ${{ matrix.version }} - ${{ matrix.platform.os }} - ${{ matrix.platform.arch }} - ${{ github.event_name }}
18+
runs-on: ${{ matrix.platform.os }}
1919
continue-on-error: ${{ matrix.version == 'nightly' }}
2020
timeout-minutes: 60
2121
permissions:
@@ -29,12 +29,11 @@ jobs:
2929
- '1.11'
3030
- '1.10'
3131
- 'nightly'
32-
os:
33-
- ubuntu-latest
34-
- windows-latest
35-
- macos-latest
36-
arch:
37-
- x64
32+
platform:
33+
- { os: ubuntu-latest, arch: x64 }
34+
- { os: windows-latest, arch: x64 }
35+
- { os: macos-15-intel, arch: x64 }
36+
- { os: macos-latest, arch: aarch64 }
3837

3938
steps:
4039
# Checkout the repository
@@ -44,7 +43,7 @@ jobs:
4443
- uses: julia-actions/setup-julia@v2
4544
with:
4645
version: ${{ matrix.version }}
47-
arch: ${{ matrix.arch }}
46+
arch: ${{ matrix.platform.arch }}
4847

4948
# Cache Julia packages
5049
- uses: julia-actions/cache@v2
@@ -53,12 +52,10 @@ jobs:
5352
- name: Instantiate packages
5453
run: julia -e 'using Pkg; Pkg.instantiate(); Pkg.resolve()'
5554

56-
# Explicitly install ConcurrentCollections 0.1.1 to satisfy hms_jl
5755
- name: Install ConcurrentCollections
5856
run: julia -e 'using Pkg; Pkg.add(PackageSpec(name="ConcurrentCollections", version="0.1.1"))'
5957

60-
# Develop hms_jl locally (DEV version)
61-
- name: Develop hms_jl
58+
- name: Develop Hier
6259
run: julia -e 'using Pkg; Pkg.develop(path=".")'
6360

6461
# Build the package

0 commit comments

Comments
 (0)