mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
git: Build snaps in destructive mode
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -1089,6 +1089,9 @@ jobs:
|
||||
id-token: write
|
||||
attestations: write
|
||||
|
||||
env:
|
||||
CCACHE_DIR: "${{ github.workspace }}/.ccache"
|
||||
|
||||
steps:
|
||||
- name: ⬇️ Install setup dependencies
|
||||
run: |
|
||||
@@ -1119,7 +1122,7 @@ jobs:
|
||||
uses: snapcore/action-build@v1
|
||||
id: snapcraft
|
||||
with:
|
||||
snapcraft-args: --mounts ccache="${{ github.workspace }}/.ccache"
|
||||
snapcraft-args: --destructive-mode
|
||||
|
||||
- name: 🗝️ Generate build provenance attestations
|
||||
uses: actions/attest-build-provenance@v2
|
||||
|
||||
1
dist/snap/snapcraft.yaml
vendored
1
dist/snap/snapcraft.yaml
vendored
@@ -37,7 +37,6 @@ parts:
|
||||
build-environment:
|
||||
- CC: /usr/bin/gcc-14
|
||||
- CXX: /usr/bin/g++-14
|
||||
- CCACHE_DIR: "$CRAFT_PROJECT_DIR/../ccache"
|
||||
cmake-parameters:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DCMAKE_C_COMPILER_LAUNCHER=/usr/bin/ccache
|
||||
|
||||
Reference in New Issue
Block a user