Skip to content

Commit 2fe3e0a

Browse files
committed
fixup! .github/workflows/ci.yml: test Windows on ARM.
1 parent afeb50c commit 2fe3e0a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,10 @@ jobs:
169169
shell: bash
170170
run: |
171171
go version 2>/dev/null || exit 0
172-
if ! (grep -q -e '^flags.*\badx\b' /proc/cpuinfo) 2>/dev/null; then
172+
if [ $OSTYPE = "msys" -a $RUNNER_ARCH = "ARM64" ]; then
173+
export CC=clang
174+
export CGO_CFLAGS="-O --target=aarch64-pc-windows-msvc"
175+
elif ! (grep -q -e '^flags.*\badx\b' /proc/cpuinfo) 2>/dev/null; then
173176
export CGO_CFLAGS="-O -D__BLST_PORTABLE__"
174177
fi
175178
cd bindings/go

0 commit comments

Comments
 (0)