Skip to content

Commit ed3c4bf

Browse files
committed
use CI improvements from OpenCL.jl
1 parent ad99f51 commit ed3c4bf

File tree

1 file changed

+30
-38
lines changed

1 file changed

+30
-38
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -21,48 +21,28 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
version:
25-
- '1.10'
26-
- '1.11'
27-
os:
28-
- ubuntu-latest
29-
- macOS-latest
30-
- windows-latest
31-
arch:
32-
- x64
33-
pocl: [jll,]
34-
include:
35-
- version: '1.10'
36-
os: ubuntu-latest
24+
version: ['1.10', '1.11']
25+
os: [ubuntu-24.04, ubuntu-24.04-arm, macOS-13, macOS-15, windows-2025]
26+
arch: [x64, arm64]
27+
pocl: [jll, local]
28+
exclude:
29+
- os: ubuntu-24.04
30+
arch: arm64
31+
- os: windows-2025
32+
arch: arm64
33+
- os: ubuntu-24.04-arm
3734
arch: x64
38-
pocl: local
39-
allow_failure: false
40-
- version: '1.11'
41-
os: ubuntu-latest
35+
# macOS 13 is Intel-only, while macOS 14+ only support Apple Silicon
36+
- os: macOS-15
4237
arch: x64
38+
- os: macOS-13
39+
arch: arm64
40+
- os: macOS-13
4341
pocl: local
44-
allow_failure: false
45-
- version: '1.12'
46-
os: ubuntu-latest
47-
arch: x64
42+
- os: macOS-15
4843
pocl: local
49-
allow_failure: false
50-
# - version: 'nightly'
51-
# os: ubuntu-latest
52-
# arch: x64
53-
# pocl: local
54-
# allow_failure: true
55-
# - version: 'nightly'
56-
# os: ubuntu-latest
57-
# arch: x64
58-
# pocl: local
59-
# allow_failure: true
60-
# - version: 'nightly'
61-
# os: ubuntu-latest
62-
# arch: x64
63-
# pocl: jll
64-
# allow_failure: true
65-
#
44+
- os: windows-2025
45+
pocl: local
6646
steps:
6747
- uses: actions/checkout@v4
6848
- uses: julia-actions/install-juliaup@v2
@@ -151,8 +131,20 @@ jobs:
151131
'
152132
- uses: julia-actions/julia-buildpkg@v1
153133
- uses: julia-actions/julia-runtest@v1
134+
if: runner.os != 'Windows'
154135
with:
155136
annotate: true
137+
- name: Setup BusyBox
138+
if: runner.os == 'Windows'
139+
run: |
140+
Invoke-WebRequest https://frippery.org/files/busybox/busybox64.exe -OutFile C:\Windows\drop.exe
141+
- name: Test KernelAbstractions.jl (de-escalated)
142+
if: runner.os == 'Windows'
143+
shell: drop -c "julia '{0}'"
144+
run: |
145+
using Pkg
146+
Pkg.activate(".")
147+
Pkg.test()
156148
- uses: julia-actions/julia-processcoverage@v1
157149
- uses: codecov/codecov-action@v4
158150
with:

0 commit comments

Comments
 (0)