Skip to content

Commit

Permalink
Merge pull request #111 from fspreiss/verify-attestationreport-withou…
Browse files Browse the repository at this point in the history
…t-openssl

Allow verification of SNP AttestationReport without OpenSSL
  • Loading branch information
larrydewey authored and DGonzalezVillal committed Oct 30, 2023
2 parents 5204987 + c6c1f32 commit 3f316c6
Show file tree
Hide file tree
Showing 25 changed files with 2,794 additions and 31 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
command: fmt
args: --all -- --check

clippy:
name: cargo clippy
clippy-openssl:
name: cargo clippy openssl
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -31,7 +31,23 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets -- -D clippy::all -D unused_imports -Dwarnings
args: --features=openssl,hw_tests,dangerous_hw_tests --all-targets -- -D clippy::all -D unused_imports -Dwarnings

clippy-crypto_nossl:
name: cargo clippy crypto_nossl
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
components: clippy
toolchain: nightly
profile: minimal
override: true
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --features=crypto_nossl,hw_tests,dangerous_hw_tests --all-targets -- -D clippy::all -D unused_imports -Dwarnings

readme:
name: cargo readme
Expand Down
31 changes: 29 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
on: [push, pull_request]
name: test
jobs:
sw:
name: sw ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
sw-openssl:
name: sw openssl ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -27,3 +27,30 @@ jobs:
flag: --release
features:
- openssl

sw-crypto_nossl:
name: sw crypto_nossl ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: ${{ matrix.profile.flag }} --features=${{ matrix.features }}
strategy:
fail-fast: false
matrix:
toolchain:
- nightly
- beta
- stable
profile:
- name: debug
- name: release
flag: --release
features:
- crypto_nossl
Loading

0 comments on commit 3f316c6

Please sign in to comment.