Skip to content

Commit fe3c2c2

Browse files
committed
fixup! .github/workflows/ci.yml: test Windows on ARM.
1 parent c38d336 commit fe3c2c2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
set
4646
4747
- name: Install Rust
48-
if: ${{ runner.os == 'Windows' }} && ${{ runner.arch == 'ARM64' }}
48+
if: ${{ runner.os == 'Windows' && runner.arch == 'ARM64' }}
4949
shell: bash
5050
run: |
5151
if ! which cargo > /dev/null 2>&1; then
@@ -166,13 +166,11 @@ jobs:
166166
rm -rf ~/.cargo/registry/index/*/.cache
167167
168168
- name: Go
169+
if: ${{ runner.os != 'Windows' || runner.arch != 'ARM64' }}
169170
shell: bash
170171
run: |
171172
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-w64-windows-gnu"
175-
elif ! (grep -q -e '^flags.*\badx\b' /proc/cpuinfo) 2>/dev/null; then
173+
if ! (grep -q -e '^flags.*\badx\b' /proc/cpuinfo) 2>/dev/null; then
176174
export CGO_CFLAGS="-O -D__BLST_PORTABLE__"
177175
fi
178176
cd bindings/go

0 commit comments

Comments
 (0)