Skip to content

Commit

Permalink
.github/workflows/ci.yml: cast testing net wider.
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-asm committed Feb 13, 2025
1 parent 8c7db7f commit 8531f71
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
os: [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest ]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -82,16 +82,18 @@ jobs:
cargo test --release --target=wasm32-wasip1
cargo clean -p blst --release --target=wasm32-wasip1
echo
echo '--- test -mlvi-hardening'
echo
env CC=clang CFLAGS="-mlvi-hardening -D__SGX_LVI_HARDENING__" \
cargo test --release
echo '--- build x86_64-fortanix-unknown-sgx'
echo
rustup target add x86_64-fortanix-unknown-sgx
cargo test --no-run --release --target=x86_64-fortanix-unknown-sgx
cargo clean -p blst --release --target=x86_64-fortanix-unknown-sgx
echo
if [ `uname -p` = "x86_64" ]; then
echo '--- test -mlvi-hardening'
echo
env CC=clang CFLAGS="-mlvi-hardening -D__SGX_LVI_HARDENING__" \
cargo test --release
echo '--- build x86_64-fortanix-unknown-sgx'
echo
rustup target add x86_64-fortanix-unknown-sgx
cargo test --no-run --release --target=x86_64-fortanix-unknown-sgx
cargo clean -p blst --release --target=x86_64-fortanix-unknown-sgx
echo
fi
echo '--- dry-run publish'
echo
./publish.sh --dry-run
Expand All @@ -111,6 +113,13 @@ jobs:
cargo clean -p blst --release --target=aarch64-apple-darwin
echo
fi
echo '--- build aarch64-apple-ios'
echo
rustup target add aarch64-apple-ios
env IPHONEOS_DEPLOYMENT_TARGET=10.0 \
cargo test --no-run --release --target=aarch64-apple-ios
cargo clean -p blst --release --target=aarch64-apple-ios
echo
elif [ $OSTYPE = "msys" ]; then
if which clang-cl > /dev/null 2>&1; then
echo '-- test i686-pc-windows-msvc'
Expand Down

0 comments on commit 8531f71

Please sign in to comment.