File tree 1 file changed +13
-10
lines changed
1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -82,16 +82,18 @@ jobs:
82
82
cargo test --release --target=wasm32-wasip1
83
83
cargo clean -p blst --release --target=wasm32-wasip1
84
84
echo
85
- echo '--- test -mlvi-hardening'
86
- echo
87
- env CC=clang CFLAGS="-mlvi-hardening -D__SGX_LVI_HARDENING__" \
88
- cargo test --release
89
- echo '--- build x86_64-fortanix-unknown-sgx'
90
- echo
91
- rustup target add x86_64-fortanix-unknown-sgx
92
- cargo test --no-run --release --target=x86_64-fortanix-unknown-sgx
93
- cargo clean -p blst --release --target=x86_64-fortanix-unknown-sgx
94
- echo
85
+ if [ `uname -p` = "x86_64" ]; then
86
+ echo '--- test -mlvi-hardening'
87
+ echo
88
+ env CC=clang CFLAGS="-mlvi-hardening -D__SGX_LVI_HARDENING__" \
89
+ cargo test --release
90
+ echo '--- build x86_64-fortanix-unknown-sgx'
91
+ echo
92
+ rustup target add x86_64-fortanix-unknown-sgx
93
+ cargo test --no-run --release --target=x86_64-fortanix-unknown-sgx
94
+ cargo clean -p blst --release --target=x86_64-fortanix-unknown-sgx
95
+ echo
96
+ fi
95
97
echo '--- dry-run publish'
96
98
echo
97
99
./publish.sh --dry-run
@@ -201,6 +203,7 @@ jobs:
201
203
- name : wine-arm64
202
204
shell : bash
203
205
run : |
206
+ sudo apt-get update
204
207
sudo apt-get install -y wine
205
208
wine blst-arm-test.exe
206
209
You can’t perform that action at this time.
0 commit comments