Skip to content

Commit e8b3489

Browse files
committed
fixup! .github/workflows/ci.yml: test ubuntu-asm and ios build.
1 parent 4b051ca commit e8b3489

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/ci.yml

+13-10
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,18 @@ jobs:
8282
cargo test --release --target=wasm32-wasip1
8383
cargo clean -p blst --release --target=wasm32-wasip1
8484
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
9597
echo '--- dry-run publish'
9698
echo
9799
./publish.sh --dry-run
@@ -201,6 +203,7 @@ jobs:
201203
- name: wine-arm64
202204
shell: bash
203205
run: |
206+
sudo apt-get update
204207
sudo apt-get install -y wine
205208
wine blst-arm-test.exe
206209

0 commit comments

Comments
 (0)