Skip to content

Commit e94721a

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
env | sort
4444
echo ---
4545
set
46+
echo ---
47+
go env
4648
4749
- name: Install Rust
4850
if: ${{ runner.os == 'Windows' }} && ${{ runner.arch == 'ARM64' }}
@@ -166,13 +168,11 @@ jobs:
166168
rm -rf ~/.cargo/registry/index/*/.cache
167169
168170
- name: Go
171+
if: ${{ runner.os != 'Windows' }} || ${{ runner.arch != 'ARM64' }}
169172
shell: bash
170173
run: |
171174
go version 2>/dev/null || exit 0
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
175+
if ! (grep -q -e '^flags.*\badx\b' /proc/cpuinfo) 2>/dev/null; then
176176
export CGO_CFLAGS="-O -D__BLST_PORTABLE__"
177177
fi
178178
cd bindings/go

0 commit comments

Comments
 (0)