Skip to content

Commit

Permalink
ci: build with crash reporter, auto updater and appimage updater
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Nov 12, 2024
1 parent b13ee8e commit 1c6966a
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,13 @@ jobs:
- name: Install dependencies
run: |
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --install-deps owncloud/owncloud-client
if ("${{ matrix.target }}" -eq "linux-64-gcc" ) {
# build with appimage updater and others
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAppImageUpdater=true owncloud-client
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableCrashReporter=true owncloud/owncloud-client
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAutoUpdater=true owncloud/owncloud-client
}
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --install-deps owncloud/owncloud-client
- name: QML format lint
if: matrix.name == 'linux-gcc-x86_64'
Expand Down Expand Up @@ -136,6 +142,12 @@ jobs:
# clang: error: unsupported option '-fsanitize=leak' for target 'x86_64-apple-darwin21.6.0'
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set args="-DECM_ENABLE_SANITIZERS='address;undefined'" owncloud/owncloud-client
}
if ("${{ matrix.target }}" -eq "linux-64-gcc" ) {
# build with appimage updater and others
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAppImageUpdater=true owncloud-client
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableCrashReporter=true owncloud/owncloud-client
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAutoUpdater=true owncloud/owncloud-client
}
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache owncloud/owncloud-client
- name: Build for SonarCloud
Expand All @@ -162,6 +174,10 @@ jobs:
- name: Package
run: |
if ("${{ matrix.target }}" -eq "linux-64-gcc" ) {
# package without crash reporter
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableCrashReporter=false owncloud/owncloud-client
}
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache --package owncloud/owncloud-client
- name: Prepare artifacts
Expand Down

0 comments on commit 1c6966a

Please sign in to comment.