Skip to content

Commit

Permalink
ci: Only test build select crates for SGX
Browse files Browse the repository at this point in the history
  • Loading branch information
kostko committed Jan 9, 2025
1 parent 2f6a79a commit c25ced0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,12 @@ jobs:
- name: Set up Rust
run: rustup show

- name: Build for SGX
run: cargo build --target x86_64-fortanix-unknown-sgx
- name: Build select crates for SGX
run: |
cargo build --target x86_64-fortanix-unknown-sgx \
--package oasis-runtime-sdk \
--package oasis-runtime-sdk-contracts \
--package oasis-runtime-sdk-evm
env:
CFLAGS_x86_64_fortanix_unknown_sgx: -isystem/usr/include/x86_64-linux-gnu -mlvi-hardening -mllvm -x86-experimental-lvi-inline-asm-hardening
CC_x86_64_fortanix_unknown_sgx: clang-18
Expand Down

0 comments on commit c25ced0

Please sign in to comment.