ci: Build tauri desktop app

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2701>
This commit is contained in:
Georg Krause 2024-02-02 13:27:28 +01:00 committed by Kasper Seweryn
parent 62f84a311b
commit 1ca5ea2b73
1 changed files with 16 additions and 0 deletions

View File

@ -430,6 +430,22 @@ build_api:
paths:
- api
build_desktop:
stage: build
rules:
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
- changes: [front/**/*]
image: $CI_REGISTRY/funkwhale/ci/node-tauri:18
variables:
<<: *keep_git_files_permissions
script:
- yarn tauri build
artifacts:
name: desktop_${CI_COMMIT_REF_NAME}
paths:
- front/tauri/target/release/bundle
deploy_docs:
interruptible: false
extends: .ssh-agent