17
17
18
18
strategy :
19
19
matrix :
20
- os : [ ubuntu-latest, windows-latest, macos-latest ]
20
+ os : [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest ]
21
21
22
22
steps :
23
23
- uses : actions/checkout@v4
@@ -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
@@ -111,6 +113,13 @@ jobs:
111
113
cargo clean -p blst --release --target=aarch64-apple-darwin
112
114
echo
113
115
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
114
123
elif [ $OSTYPE = "msys" ]; then
115
124
if which clang-cl > /dev/null 2>&1; then
116
125
echo '-- test i686-pc-windows-msvc'
0 commit comments