Skip to content

Commit 9143b04

Browse files
committed
Test on Windows without privileges.
1 parent ac654c6 commit 9143b04

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/Test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,22 @@ jobs:
136136
137137
- name: Test OpenCL.jl
138138
uses: julia-actions/julia-runtest@v1
139+
if: runner.os != 'Windows'
139140
with:
140141
test_args: '--platform=pocl'
141142

143+
- name: Setup BusyBox
144+
if: runner.os == 'Windows'
145+
run: |
146+
Invoke-WebRequest https://frippery.org/files/busybox/busybox64.exe -OutFile C:\Windows\drop.exe
147+
- name: Test OpenCL.jl (de-escalated)
148+
if: runner.os == 'Windows'
149+
shell: drop -c "julia '{0}'"
150+
run: |
151+
using Pkg
152+
Pkg.activate(".")
153+
Pkg.test(; test_args=`--platform=pocl`)
154+
142155
- uses: julia-actions/julia-processcoverage@v1
143156
- uses: codecov/codecov-action@v5
144157
with:

0 commit comments

Comments
 (0)