just seeing

This commit is contained in:
Chloe 2024-07-25 20:33:01 -07:00
parent 807da4754f
commit 4dc5ba07d0
No known key found for this signature in database
GPG key ID: D2D404DD810FE0E3
2 changed files with 24 additions and 24 deletions
.github
actions/setup-cache
workflows

View file

@ -16,24 +16,24 @@ runs:
using: "composite"
steps:
# https://github.com/mozilla/sccache/issues/2090
#- name: Download custom sccache
# uses: robinraju/release-downloader@v1.10
# with:
# repository: cgytrus/sccache
# latest: true
# fileName: 'sccache-*-x86_64-apple-darwin.zip'
# tarBall: false
# zipBall: false
# out-file-path: "epic-sccache"
# if: inputs.host == 'mac' && inputs.use-ccache
- name: Download custom sccache
uses: robinraju/release-downloader@v1.10
with:
repository: cgytrus/sccache
latest: true
fileName: 'sccache-*-x86_64-apple-darwin.zip'
tarBall: false
zipBall: false
out-file-path: "epic-sccache"
if: inputs.host == 'mac' && inputs.use-ccache
#- name: Setup custom sccache
# shell: bash
# run: |
# 7z x "epic-sccache/sccache-*-x86_64-apple-darwin.zip" -o"epic-sccache"
# echo "$GITHUB_WORKSPACE/epic-sccache" >> $GITHUB_PATH
# chmod +x "epic-sccache/sccache"
# if: inputs.host == 'mac' && inputs.use-ccache
- name: Setup custom sccache
shell: bash
run: |
7z x "epic-sccache/sccache-*-x86_64-apple-darwin.zip" -o"epic-sccache"
echo "$GITHUB_WORKSPACE/epic-sccache" >> $GITHUB_PATH
chmod +x "epic-sccache/sccache"
if: inputs.host == 'mac' && inputs.use-ccache
- name: Setup sccache
uses: hendrikmuhs/ccache-action@v1.2.13

View file

@ -6,7 +6,7 @@ on:
build-debug-info:
description: 'Profile and debug the build process'
required: false
default: false
default: true
type: boolean
use-ccache:
description: 'Enable ccache/sccache'
@ -155,12 +155,12 @@ jobs:
has-sccache: ${{ inputs.use-ccache }}
if: inputs.build-debug-info
#- name: Setup caches
# uses: ./.github/actions/setup-cache
# with:
# host: mac
# target: mac
# use-ccache: ${{ github.event_name != 'workflow_dispatch' || inputs.use-ccache }}
- name: Setup caches
uses: ./.github/actions/setup-cache
with:
host: mac
target: mac
use-ccache: ${{ github.event_name != 'workflow_dispatch' || inputs.use-ccache }}
- name: Setup Ninja
uses: ./.github/actions/setup-ninja