From 09cf81df7edb4a5f4f555f82dd3f8616a6136f21 Mon Sep 17 00:00:00 2001 From: Jun Kimura Date: Sat, 10 Jun 2023 17:35:31 +0900 Subject: [PATCH] CI: remove go cache Signed-off-by: Jun Kimura --- .github/workflows/test.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a147d85d..deaab479 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,18 +42,12 @@ jobs: - uses: actions/setup-go@v3 with: go-version: 1.18 - - uses: actions/cache@v3 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - run: make yrly sdk-test: runs-on: ubuntu-22.04 + env: + SGX_MODE: SW steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 @@ -69,8 +63,7 @@ jobs: - run: curl -LO https://download.01.org/intel-sgx/sgx-linux/2.19/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.19.100.3.bin - run: chmod +x ./sgx_linux_x64_sdk_2.19.100.3.bin - run: echo -e 'no\n/opt' | ./sgx_linux_x64_sdk_2.19.100.3.bin - - run: source /opt/sgxsdk/environment && export SGX_MODE=SW - - run: make -B - - run: make test - - run: make integration-test - - run: make cgen + - run: source /opt/sgxsdk/environment && make -B + - run: source /opt/sgxsdk/environment && make test + - run: source /opt/sgxsdk/environment && make integration-test + - run: source /opt/sgxsdk/environment && make cgen