Skip to content

Commit 8d41930

Browse files
committed
Add OpenCL tests
1 parent 9e279ea commit 8d41930

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/CI-CPU.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,28 @@ jobs:
8585
- uses: julia-actions/julia-runtest@v1
8686
with:
8787
test_args: '--cpuKA'
88+
OpenCL:
89+
name: OpenCL
90+
runs-on: ubuntu-latest
91+
timeout-minutes: 60
92+
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
93+
actions: write
94+
contents: read
95+
strategy:
96+
fail-fast: false
97+
steps:
98+
- uses: actions/checkout@v4
99+
- uses: julia-actions/setup-julia@v2
100+
with:
101+
version: 1
102+
arch: x64
103+
- uses: julia-actions/cache@v2
104+
- uses: julia-actions/julia-buildpkg@v1
105+
# - run: sed -i 's/^KernelAbstractions = "0\.9.*"/KernelAbstractions = "0.10"/' ./Project.toml
106+
# - run: julia --project -e'using Pkg; pkg"dev KernelAbstractions"'
107+
- uses: julia-actions/julia-runtest@v1
108+
with:
109+
test_args: '--OpenCL'
88110
docs:
89111
name: Documentation
90112
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)