Skip to content

Commit

Permalink
ci: use generic WAFCACHE_VERBOSITY env var rather than calling --zone…
Browse files Browse the repository at this point in the history
…s= to debug. Set WAFCACHE to ~/wafcache
  • Loading branch information
a1batross committed Nov 17, 2024
1 parent ed39493 commit f0a2433
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
env:
SDL_VERSION: 2.30.3
GH_CPU_ARCH: ${{ matrix.targetarch }}
WAFCACHE: $HOME/wafcache
WAFCACHE_VERBOSITY: 1
WAFCACHE_EVICT_MAX_BYTES: 1000000 # github only gives 10gb for the whole repository
WAFCACHE_STATS: 1 # enable statistics in build log
steps:
Expand All @@ -63,8 +65,7 @@ jobs:
uses: actions/cache@v3
with:
key: ${{ runner.os }}-${{ matrix.targetos }}-${{ matrix.targetarch }}
path: |
~/.cache/wafcache*
path: ~/wafcache
- name: Install dependencies
run: bash scripts/gha/deps_${{ matrix.targetos }}.sh
- name: Build engine
Expand Down
2 changes: 1 addition & 1 deletion scripts/gha/build_psvita.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ popd
echo "Building engine..."

./waf configure -T release --psvita --enable-wafcache || die_configure
./waf build install --destdir=pkgtemp/data/xash3d --zones=wafcache || die
./waf build install --destdir=pkgtemp/data/xash3d || die
cp build/engine/xash.vpk pkgtemp/

echo "Building HLSDK..."
Expand Down

0 comments on commit f0a2433

Please sign in to comment.