Run Windows NSIS build on scopenet host runner
This commit is contained in:
1 parent
d3057a2fc5
commit
eeeaa16f40
3 files changed
+18
-3
No files matched your search
+16
-1
@@ -58,7 +58,7 @@ jobs:
|
||||
|
||||
launcher-windows:
|
||||
name: Windows launcher
|
||||
runs-on: windows-latest
|
||||
runs-on: scopenet
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Windows build dependencies
|
||||
@@ -69,6 +69,21 @@ jobs:
|
||||
working-directory: launcher
|
||||
- run: npm run build
|
||||
working-directory: launcher
|
||||
- name: Build NSIS installer
|
||||
working-directory: launcher
|
||||
shell: pwsh
|
||||
env:
|
||||
SCOPENET_PANEL_URL: ${{ vars.PANEL_URL }}
|
||||
SCOPENET_LOCK_PANEL: ${{ vars.LOCK_PANEL }}
|
||||
SCOPENET_REPO: ${{ gitea.server_url }}/${{ gitea.repository }}
|
||||
run: |
|
||||
npx tauri build --bundles nsis
|
||||
if ($LASTEXITCODE -ne 0) { throw "NSIS build failed with exit code $LASTEXITCODE" }
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: windows-installer-ci
|
||||
path: target/release/bundle/nsis/*-setup.exe
|
||||
if-no-files-found: error
|
||||
- run: cargo clippy -p scopenet-launcher --locked -- -D warnings
|
||||
- run: cargo test -p scopenet-launcher -p scopenet-core -p scopenet-shared --locked
|
||||
|
||||
|
||||
Reference in new issue
Block a user