Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/cosmian/intel-sgx:2.24
FROM ghcr.io/cosmian/intel-sgx:2.25

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

Expand Down
23 changes: 4 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,9 @@ name: Continuous integration
jobs:
check:
name: Check
runs-on: ${{ matrix.env }}

strategy:
matrix:
include:
- env: "no-tee"
docker-opt: "--device /dev/tpmrm0"
# TODO: enable this when SEV runner is working
# - env: "sev"
# docker-opt: "--device /dev/sev-guest --device /dev/tpmrm0"
# TODO: enable this when TDX runner is working
# - env: "tdx"
# docker-opt: "--device /dev/tdx_guest --device /dev/tpmrm0"
- env: "sgx"
docker-opt: "--device /dev/sgx_enclave --device /dev/sgx_provision"
runs-on: ubuntu-latest
container:
image: ghcr.io/cosmian/intel-sgx:2.24 # We work in a container because we need root access for some tests (get quote for example)
options: ${{ matrix.docker-opt }} # We need the device to get TPM, TDX or SEV quote
image: ghcr.io/cosmian/intel-sgx:2.25
steps:
- name: Install dependencies
run: |
Expand All @@ -40,7 +25,7 @@ jobs:
- run: rustup component add rustfmt && rustup component add clippy && cargo install cargo-machete

- name: Security Audit
uses: EmbarkStudios/cargo-deny-action@v1
uses: EmbarkStudios/cargo-deny-action@v2

- name: Cargo fmt
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -68,4 +53,4 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: -- --nocapture # We want to display messages concerning skipped tests
args: -- --nocapture
Loading
Loading