Skip to content

Commit

Permalink
Add sgx build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-crypto authored and djc committed Aug 12, 2022
1 parent bee614a commit 511d368
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,28 @@ jobs:
run: cargo build --target thumbv6m-none-eabi --color=always
working-directory: ./ci/core-test

intel_sgx:
strategy:
matrix:
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2

- name: Install rust with fortanix sgx toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: x86_64-fortanix-unknown-sgx
override: true
- uses: Swatinem/rust-cache@v1

- name: Build sgx lib
run: cargo build --target x86_64-fortanix-unknown-sgx --color=always
working-directory: ./ci/core-test

wasm:
strategy:
matrix:
Expand Down

0 comments on commit 511d368

Please sign in to comment.