diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 97713b0f..864fcb58 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -185,8 +185,6 @@ jobs: - aarch64-apple-ios steps: - uses: actions/checkout@v3 - - uses: ./.github/actions/sgxsdk - - uses: ./.github/actions/dcap-libs - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -201,7 +199,7 @@ jobs: jq -r '.packages[].name' | \ grep -v -E 'sys$' | \ grep -P '(sgx-(?!t))|(types)' | \ - xargs -n1 sh -c 'CFLAGS="-isystem/home/nick/git/sgx/core/build/headers -isystem/opt/intel/sgxsdk/include/tlibc" cargo build --target ${{ matrix.target }} -p $0 || exit 255' + xargs -n1 sh -c 'CFLAGS="-isystem${GITHUB_WORKSPACE}/core/build/headers -isystem${GITHUB_WORKSPACE}/core/build/headers/tlibc" cargo build --target ${{ matrix.target }} -p $0 || exit 255' test: runs-on: ubuntu-20.04