Skip to content

Commit

Permalink
Local CI
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulstrackx committed Mar 27, 2024
1 parent 2385a1d commit dacd623
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ct.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash -ex
export RUST_BACKTRACE=1

toolchains=("nightly-2023-05-07-x86_64-unknown-linux-gnu" "nightly-2024-02-20-x86_64-unknown-linux-gnu")
platforms=("x86_64-fortanix-unknown-sgx" "x86_64-unknown-linux-gnu")

for toolchain in "${toolchains[@]}"; do
for platform in "${platforms[@]}"; do
echo "toolchain: $toolchain"
echo "platform: $platform"
echo ""
cargo +${toolchain} test --target ${platform}
cargo +${toolchain} test --features "net,os-poll" --target ${platform}
cargo +${toolchain} test --features "net,os-ext" --target ${platform}
cargo +${toolchain} test --features "net,os-poll,os-ext" --target ${platform}
done
done

0 comments on commit dacd623

Please sign in to comment.