Skip to content
22 changes: 15 additions & 7 deletions .github/workflows/therock-ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
fail-fast: true
env:
CACHE_DIR: ${{ github.workspace }}/.container-cache
CCACHE_DIR: "${{ github.workspace }}/.container-cache/ccache"
CCACHE_MAXSIZE: "700M"
CCACHE_CONFIGPATH: ${{ github.workspace }}/.ccache/ccache.conf
AMDGPU_FAMILIES: "gfx94X-dcgpu"
TEATIME_FORCE_INTERACTIVE: 0
steps:
Expand Down Expand Up @@ -55,18 +54,26 @@ jobs:

- name: Runner Health Settings
run: |
echo "CCACHE_DIR=${CCACHE_DIR}"
./TheRock/build_tools/setup_ccache.py \
--config-preset "github-oss-presubmit" \
--dir "$(dirname $CCACHE_CONFIGPATH)" \
--local-path "$CACHE_DIR/ccache"
df -h
echo "ccache version: $(ccache --version)"
echo "ccache config:"
echo "---"
cat "$CCACHE_CONFIGPATH"
echo "---"
ccache -z
mkdir -p $CCACHE_DIR
cmake --version
ccache -s -v
echo cmake --version
Comment thread
amd-justchen marked this conversation as resolved.
Outdated
echo "Installed Python versions:"
ls -d /opt/python
echo "python: $(which python), python3: $(which python3)"
echo "Git version: $(git --version)"
git config --global --add safe.directory $PWD
git config fetch.parallel 10

- name: Fetch sources
run: |
./TheRock/build_tools/fetch_sources.py --jobs 12 --no-include-math-libs
Expand Down Expand Up @@ -105,7 +112,8 @@ jobs:
du -h -d 1 TheRock/build/artifacts
echo "CCache Stats:"
echo "-------------"
ccache -s
ccache -s -v
tail -v -n +1 .ccache/compiler_check_cache/* > TheRock/build/logs/ccache_compiler_check_cache.log

- name: Configure AWS Credentials
if: always()
Expand Down
Loading