Skip to content

Commit

Permalink
CI: ccache updates
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist committed Aug 27, 2024
1 parent bdfca7f commit 2d6a44f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ jobs:
key: ${{ matrix.os }}-${{ matrix.build-type }}
- name: set env and prepare dir structure
run: |
sst_deps_user_dir="${GITHUB_WORKSPACE}/../${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}_${GITHUB_RUN_ATTEMPT}"
# Keep this common in order to increase ccache effectiveness
# sst_deps_user_dir="${GITHUB_WORKSPACE}/../${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}_${GITHUB_RUN_ATTEMPT}"
sst_deps_user_dir="${GITHUB_WORKSPACE}/../sst-deps-user-dir"
mkdir -p "${sst_deps_user_dir}"
SST_DEPS_USER_DIR="$(realpath "${sst_deps_user_dir}")"
echo "SST_DEPS_USER_DIR=${SST_DEPS_USER_DIR}" >> "${GITHUB_ENV}"
Expand All @@ -91,6 +93,7 @@ jobs:
mv "${GITHUB_WORKSPACE}" "${SST_DEPS_USER_DIR}/devel/sqe"
cd "${SST_DEPS_USER_DIR}/devel/trunk"
../sqe/buildsys/bamboo.sh ${{ matrix.build-type }} none none none none none
ccache -s -vv
- uses: actions/upload-artifact@v4
with:
name: test-output-${{ matrix.os }}-${{ matrix.build-type }}
Expand Down

0 comments on commit 2d6a44f

Please sign in to comment.