1- name : ownCloud CI
1+ name : tineDrive CI
22
3- on :
4- push :
5- branches :
6- - master
7- - ' [0-9]+'
8- pull_request :
9- workflow_dispatch :
3+ on : [push]
104
115concurrency :
126 group : ${{ github.head_ref || github.run_id }}
9791 - name : Prepare
9892 run : |
9993 New-Item -ItemType Directory "${env:GITHUB_WORKSPACE}/binaries/"
100- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set forceAsserts=true owncloud/owncloud -client
101- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set srcDir="${env:GITHUB_WORKSPACE}" owncloud/owncloud -client
94+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set forceAsserts=true tineDrive/tineDrive -client
95+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set srcDir="${env:GITHUB_WORKSPACE}" tineDrive/tineDrive -client
10296 if ($IsWindows) {
10397 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c dev-utils/nsis
10498 } elseif($IsLinux) {
@@ -109,11 +103,11 @@ jobs:
109103 run : |
110104 if ("${{ matrix.target }}" -eq "linux-64-gcc" ) {
111105 # build with appimage updater and others
112- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAppImageUpdater=true owncloud -client
113- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableCrashReporter=true owncloud/owncloud -client
114- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAutoUpdater=true owncloud/owncloud -client
106+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAppImageUpdater=true tineDrive -client
107+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableCrashReporter=true tineDrive/tineDrive -client
108+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAutoUpdater=true tineDrive/tineDrive -client
115109 }
116- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --install-deps owncloud/owncloud -client
110+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --install-deps tineDrive/tineDrive -client
117111
118112 - name : QML format lint
119113 if : matrix.name == 'linux-gcc-x86_64'
@@ -144,45 +138,45 @@ jobs:
144138 # https://api.kde.org/ecm/module/ECMEnableSanitizers.html
145139 # address;leak;undefined
146140 # clang: error: unsupported option '-fsanitize=leak' for target 'x86_64-apple-darwin21.6.0'
147- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set args="-DECM_ENABLE_SANITIZERS='address;undefined'" owncloud/owncloud -client
141+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set args="-DECM_ENABLE_SANITIZERS='address;undefined'" tineDrive/tineDrive -client
148142 }
149143 if ("${{ matrix.target }}" -eq "linux-64-gcc" ) {
150144 # build with appimage updater and others
151- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAppImageUpdater=true owncloud -client
152- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableCrashReporter=true owncloud/owncloud -client
153- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAutoUpdater=true owncloud/owncloud -client
145+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAppImageUpdater=true tineDrive -client
146+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableCrashReporter=true tineDrive/tineDrive -client
147+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAutoUpdater=true tineDrive/tineDrive -client
154148 }
155- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache owncloud/owncloud -client
149+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache tineDrive/tineDrive -client
156150
157151 - name : Build for SonarCloud
158152 if : ${{ matrix.useSonarCloud }}
159153 run : |
160- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache --configure owncloud/owncloud -client
161- $env:BUILD_DIR = $(& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --get buildDir -q owncloud -client)
154+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache --configure tineDrive/tineDrive -client
155+ $env:BUILD_DIR = $(& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --get buildDir -q tineDrive -client)
162156 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run pwsh "${env:GITHUB_WORKSPACE}/.github/workflows/.sonar.ps1" --build
163- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache --install --qmerge owncloud/owncloud -client
157+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache --install --qmerge tineDrive/tineDrive -client
164158 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run pwsh "${env:GITHUB_WORKSPACE}/.github/workflows/.sonar.ps1" --analyze
165159
166160 - name : Run tests
167161 run : |
168- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache --test owncloud/owncloud -client
162+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache --test tineDrive/tineDrive -client
169163
170164 - name : Clang tidy
171165 if : github.event_name != 'pull_request'
172166 run : |
173167 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c libs/llvm python-modules/pip
174168 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run python3 -m pip install clang-html
175- $env:BUILD_DIR = $(& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --get buildDir -q owncloud -client)
169+ $env:BUILD_DIR = $(& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --get buildDir -q tineDrive -client)
176170 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run pwsh "${env:GITHUB_WORKSPACE}/.github/workflows/.run-clang-tidy.ps1"
177171 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run python3 -m clang_html "${env:TMPDIR}/clang-tidy.log" -o "${env:GITHUB_WORKSPACE}/binaries/clang-tidy.html"
178172
179173 - name : Package
180174 run : |
181175 if ("${{ matrix.target }}" -eq "linux-64-gcc" ) {
182176 # package without crash reporter
183- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableCrashReporter=false owncloud/owncloud -client
177+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableCrashReporter=false tineDrive/tineDrive -client
184178 }
185- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache --package owncloud/owncloud -client
179+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --no-cache --package tineDrive/tineDrive -client
186180
187181 - name : Prepare artifacts
188182 run : |
0 commit comments