Skip to content

Commit 8531f71

Browse files
committed
.github/workflows/ci.yml: cast testing net wider.
1 parent 8c7db7f commit 8531f71

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
os: [ ubuntu-latest, windows-latest, macos-latest ]
20+
os: [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest ]
2121

2222
steps:
2323
- uses: actions/checkout@v4
@@ -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
@@ -111,6 +113,13 @@ jobs:
111113
cargo clean -p blst --release --target=aarch64-apple-darwin
112114
echo
113115
fi
116+
echo '--- build aarch64-apple-ios'
117+
echo
118+
rustup target add aarch64-apple-ios
119+
env IPHONEOS_DEPLOYMENT_TARGET=10.0 \
120+
cargo test --no-run --release --target=aarch64-apple-ios
121+
cargo clean -p blst --release --target=aarch64-apple-ios
122+
echo
114123
elif [ $OSTYPE = "msys" ]; then
115124
if which clang-cl > /dev/null 2>&1; then
116125
echo '-- test i686-pc-windows-msvc'

0 commit comments

Comments
 (0)