rightsize ccache, protect steam sdk from eviction

develop
Myk Taylor 2023-04-29 22:30:42 -07:00
parent 923f84b2f2
commit ffa9f79f94
No known key found for this signature in database
2 changed files with 12 additions and 4 deletions

@ -72,6 +72,12 @@ jobs:
# - name: Download DF
# run: |
# sh ci/download-df.sh
- name: Restore steam SDK
uses: actions/cache@v3
with:
path: depends/steam
key: steam-sdk-156
enableCrossOsArchive: true
- name: Configure DFHack
env:
CC: gcc-${{ matrix.gcc }}
@ -94,6 +100,8 @@ jobs:
- name: Build DFHack
run: |
ninja -C build-ci install
ccache --max-size 100M
ccache --cleanup
ccache --show-stats
- name: Run cpp unit tests
id: run_tests_cpp

@ -14,8 +14,8 @@ on:
release_channel:
description: Release channel
type: string
required: false
default: beta
required: true
default: staging
jobs:
deploy-to-steam:
@ -34,12 +34,12 @@ jobs:
path: build/win64-cross/ccache
key: ccache-win64-cross-msvc-${{ github.event.inputs.commit_hash }}
restore-keys: |
ccache-win64-cross-msvc-develop-${{ github.event.inputs.commit_hash }}
ccache-win64-cross-msvc-${{ github.event.inputs.commit_hash }}
ccache-win64-cross-msvc
- name: Restore steam SDK
uses: actions/cache@v3
with:
path: depends/steam/steamworks_sdk_156.zip
path: depends/steam
key: steam-sdk-156
enableCrossOsArchive: true
- name: Cross-compile win64 artifacts