feat(ci): control symbol stripping via NO_STRIP matrix var
The workflow now passes a per-platform NO_STRIP setting into the Tauri build environment. This allows builds to retain symbols when needed, improving debugging and crash analysis without changing the default behavior for other targets. - Add matrix no_strip values for Windows and Ubuntu - Export NO_STRIP into the build environment for Tauri
This commit is contained in:
@@ -42,9 +42,11 @@ jobs:
|
|||||||
- platform: "windows-latest"
|
- platform: "windows-latest"
|
||||||
bundles: "nsis"
|
bundles: "nsis"
|
||||||
updater_platform: "windows-x86_64"
|
updater_platform: "windows-x86_64"
|
||||||
|
no_strip: ""
|
||||||
- platform: "ubuntu-22.04"
|
- platform: "ubuntu-22.04"
|
||||||
bundles: "appimage"
|
bundles: "appimage"
|
||||||
updater_platform: "linux-x86_64"
|
updater_platform: "linux-x86_64"
|
||||||
|
no_strip: "1"
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
|
|
||||||
@@ -129,6 +131,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD}}
|
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD}}
|
||||||
|
NO_STRIP: ${{ matrix.no_strip }}
|
||||||
run: npm run tauri -- build --bundles ${{ matrix.bundles }}
|
run: npm run tauri -- build --bundles ${{ matrix.bundles }}
|
||||||
# ----------------------
|
# ----------------------
|
||||||
# Upload to MinIO (via mc) and create latest.json
|
# Upload to MinIO (via mc) and create latest.json
|
||||||
|
|||||||
Reference in New Issue
Block a user