From c0451d8c9f421c059d1ff7e677dc3be0c952ad0a Mon Sep 17 00:00:00 2001 From: Magnus Kulke Date: Thu, 4 Jul 2024 12:13:28 +0200 Subject: [PATCH] fixup --- .github/workflows/kbs-e2e.yml | 45 ++++++++++++++++------------------- 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/.github/workflows/kbs-e2e.yml b/.github/workflows/kbs-e2e.yml index cf3ab90a55..6a007ccef1 100644 --- a/.github/workflows/kbs-e2e.yml +++ b/.github/workflows/kbs-e2e.yml @@ -66,32 +66,27 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v4 - - name: mgns debug - run: find ./artifact + - name: Copy test files + run: cp -a ./artifact/* . - # - name: binaries - # run: cp -a ./artifact/kbs/test . - - # - name: Set up SGX/TDX certificates cache - # uses: actions/cache@v4 - # with: - # path: /root/.dcap-qcnl - # key: ${{ runner.os }}-dcap-qcnl + - name: Set up SGX/TDX certificates cache + uses: actions/cache@v4 + with: + path: /root/.dcap-qcnl + key: ${{ runner.os }}-dcap-qcnl - # - name: Install dependencies - # working-directory: test - # run: | - # sudo apt-get update - # sudo apt-get install -y make --no-install-recommends - # sudo make install-dependencies + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y make --no-install-recommends + sudo make install-dependencies - # - name: Set cc_kbc sample attester env - # if: inputs.tee == 'sample' - # run: echo "AA_SAMPLE_ATTESTER_TEST=1" >> "$GITHUB_ENV" + - name: Set cc_kbc sample attester env + if: inputs.tee == 'sample' + run: echo "AA_SAMPLE_ATTESTER_TEST=1" >> "$GITHUB_ENV" - # - name: Run e2e test - # working-directory: test - # env: - # TEE: ${{ inputs.tee }} - # RUST_LOG: warn - # run: sudo -E make e2e-test + - name: Run e2e test + env: + TEE: ${{ inputs.tee }} + RUST_LOG: warn + run: sudo -E make e2e-test