aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2023-02-04 05:37:23 -0800
committerGitHub <noreply@github.com>2023-02-04 05:37:23 -0800
commit74a875bdce056d554bb7d4a0d8a57cc9561ef397 (patch)
tree70b4ec3317ba33b734af979173f3dd1ae1210dc3 /.github
parentc392db7e0df2e07633283efc23f2fb079ac4192d (diff)
parent75683039c5859d9ec3c7e94a21f4c3a3b38c16b9 (diff)
downloadPrismLauncher-74a875bdce056d554bb7d4a0d8a57cc9561ef397.tar.gz
PrismLauncher-74a875bdce056d554bb7d4a0d8a57cc9561ef397.tar.bz2
PrismLauncher-74a875bdce056d554bb7d4a0d8a57cc9561ef397.zip
Merge pull request #803 from TheLastRar/msys2-ccache
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml25
1 files changed, 16 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6ec4f6a4..86e88fa1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -149,6 +149,15 @@ jobs:
with:
key: ${{ matrix.os }}-qt${{ matrix.qt_ver }}-${{ matrix.architecture }}
+ - name: Retrieve ccache cache (Windows MinGW-w64)
+ if: runner.os == 'Windows' && matrix.msystem != '' && inputs.build_type == 'Debug'
+ uses: actions/cache@v3.2.4
+ with:
+ path: '${{ github.workspace }}\.ccache'
+ key: ${{ matrix.os }}-mingw-w64-ccache-${{ github.run_id }}
+ restore-keys: |
+ ${{ matrix.os }}-mingw-w64-ccache
+
- name: Setup ccache (Windows MinGW-w64)
if: runner.os == 'Windows' && matrix.msystem != '' && inputs.build_type == 'Debug'
shell: msys2 {0}
@@ -165,15 +174,6 @@ jobs:
run: |
echo "CCACHE_VAR=ccache" >> $GITHUB_ENV
- - name: Retrieve ccache cache (Windows MinGW-w64)
- if: runner.os == 'Windows' && matrix.msystem != '' && inputs.build_type == 'Debug'
- uses: actions/cache@v3.2.4
- with:
- path: '${{ github.workspace }}\.ccache'
- key: ${{ matrix.os }}-mingw-w64
- restore-keys: |
- ${{ matrix.os }}-mingw-w64
-
- name: Set short version
shell: bash
run: |
@@ -510,6 +510,13 @@ jobs:
with:
name: PrismLauncher-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage
path: PrismLauncher-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage
+
+ - name: ccache stats (Windows MinGW-w64)
+ if: runner.os == 'Windows' && matrix.msystem != ''
+ shell: msys2 {0}
+ run: |
+ ccache -s
+
snap:
runs-on: ubuntu-20.04
steps: