File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 45
45
set
46
46
47
47
- name : Install Rust
48
- if : ${{ runner.os == 'Windows' }} && ${{ runner.arch == 'ARM64' }}
48
+ if : ${{ runner.os == 'Windows' && runner.arch == 'ARM64' }}
49
49
shell : bash
50
50
run : |
51
51
if ! which cargo > /dev/null 2>&1; then
@@ -166,13 +166,11 @@ jobs:
166
166
rm -rf ~/.cargo/registry/index/*/.cache
167
167
168
168
- name : Go
169
+ if : ${{ runner.os != 'Windows' || runner.arch != 'ARM64' }}
169
170
shell : bash
170
171
run : |
171
172
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
176
174
export CGO_CFLAGS="-O -D__BLST_PORTABLE__"
177
175
fi
178
176
cd bindings/go
You can’t perform that action at this time.
0 commit comments