Skip to content

Commit

Permalink
ci: payload build
Browse files Browse the repository at this point in the history
We now have three enclave-cc payload builds:
- sample-kbc in SIM sgx modee
- eaa-kbc in HW sgx mode
- cc-kbc (occlum) in HW sgx mode

Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
  • Loading branch information
Xynnn007 committed May 10, 2023
1 parent 82d0a6e commit ac51253
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/payload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
asset:
- HW
- SIM
include:
- sgx_mode: SIM
kbc: sample-kbc
- sgx_mode: HW
kbc: eaa-kbc
- sgx_mode: HW
kbc: cc-kbc
steps:
- name: Login to quay.io
uses: docker/login-action@v2
Expand All @@ -23,10 +27,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # This is needed in order to keep the commit ids history
- name: Build Enclave CC Payload using SGX_MODE=${{ matrix.asset }}
- name: Build Enclave CC Payload using SGX_MODE=${{ matrix.sgx_mode }} KBC=${{ matrix.kbc }}
run: |
./tools/packaging/build/build_payload.sh
env:
SGX_MODE: ${{ matrix.asset }}
SGX_MODE: ${{ matrix.sgx_mode }}
KBC: ${{ matrix.kbc }}
CI: yes
PUSH: yes

0 comments on commit ac51253

Please sign in to comment.