Skip to content

Commit 511d368

Browse files
trevor-cryptodjc
authored andcommitted
Add sgx build to CI
1 parent bee614a commit 511d368

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/test.yml

+22
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,28 @@ jobs:
8686
run: cargo build --target thumbv6m-none-eabi --color=always
8787
working-directory: ./ci/core-test
8888

89+
intel_sgx:
90+
strategy:
91+
matrix:
92+
os: [ubuntu-latest]
93+
94+
runs-on: ${{ matrix.os }}
95+
96+
steps:
97+
- uses: actions/checkout@v2
98+
99+
- name: Install rust with fortanix sgx toolchain
100+
uses: actions-rs/toolchain@v1
101+
with:
102+
toolchain: nightly
103+
target: x86_64-fortanix-unknown-sgx
104+
override: true
105+
- uses: Swatinem/rust-cache@v1
106+
107+
- name: Build sgx lib
108+
run: cargo build --target x86_64-fortanix-unknown-sgx --color=always
109+
working-directory: ./ci/core-test
110+
89111
wasm:
90112
strategy:
91113
matrix:

0 commit comments

Comments
 (0)