File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 43
43
env | sort
44
44
echo ---
45
45
set
46
- echo ---
47
- go env || true
48
46
49
47
- name : Install Rust
50
48
if : ${{ runner.os == 'Windows' }} && ${{ runner.arch == 'ARM64' }}
@@ -168,11 +166,13 @@ jobs:
168
166
rm -rf ~/.cargo/registry/index/*/.cache
169
167
170
168
- name : Go
171
- if : ${{ runner.os != 'Windows' }} || ${{ runner.arch != 'ARM64' }}
172
169
shell : bash
173
170
run : |
174
171
go version 2>/dev/null || exit 0
175
- 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-w64-windows-gnu"
175
+ elif ! (grep -q -e '^flags.*\badx\b' /proc/cpuinfo) 2>/dev/null; then
176
176
export CGO_CFLAGS="-O -D__BLST_PORTABLE__"
177
177
fi
178
178
cd bindings/go
You can’t perform that action at this time.
0 commit comments