Skip to content

Commit

Permalink
Conquer cdh_basic.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BbolroC committed Jun 10, 2024
1 parent 2941043 commit 471b0d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/cdh_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@ jobs:
defaults:
run:
working-directory: ./confidential-data-hub
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
instance:
- ubuntu-latest
- s390x-test
rust:
- stable
runs-on: ${{ matrix.instance }}
steps:
- name: Code checkout
uses: actions/checkout@v4
Expand All @@ -50,15 +53,13 @@ jobs:
- name: Build and install
run: |
make RESOURCE_PROVIDER=kbs,sev && make install
mkdir -p ${HOME}/.local/bin
make RESOURCE_PROVIDER=kbs,sev && make install PREFIX=${HOME}/.local
- name: Musl build
run: |
make LIBC=musl
- name: s390x build
run:
make ARCH=s390x
if: matrix.instance == 'ubuntu-latest'

- name: Run cargo test
uses: actions-rs/cargo@v1
Expand Down
3 changes: 3 additions & 0 deletions confidential-data-hub/secret/src/bin/secret_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ enum EnvelopeArgs {
/// Intel eHSM driver to seal the envelope
#[cfg(feature = "ehsm")]
Ehsm(EhsmProviderArgs),

/// Dummy driver to prevent the unreachable pattern for neither aliyun nor ehsm
Dummy,
}

#[cfg(feature = "aliyun")]
Expand Down

0 comments on commit 471b0d6

Please sign in to comment.