Skip to content

Commit 386a6a7

Browse files
committed
feat(windows/qt6): initial skeleton for Windows CI build image
Signed-off-by: Matthieu Gallien <[email protected]>
1 parent 254da7f commit 386a6a7

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed

client-qt6/Dockerfile.windows

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM windows-2022
2+
3+
MAINTAINER Desktop Team <[email protected]>
4+
5+
ENV CRAFT_TARGET windows-msvc2022_64-cl
6+
7+
COPY craftmaster.ini c:\Nextcloud
8+
9+
RUN \
10+
mkdir \Nextcloud; \
11+
cd \Nextcloud; \
12+
git clone https://invent.kde.org/packaging/craftmaster "C:/Craft/craftmaster/"; \
13+

client-qt6/craftmaster.ini

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: GPL-2.0-or-later
3+
[General]
4+
Branch = master
5+
# CraftUrl = https://github.com/allexzander/craft.git
6+
CraftRevision = ec08a9becf7f7749c0d39282561ba5468b80d5e6
7+
ShallowClone = False
8+
9+
# Variables defined here override the default value
10+
# The variable names are casesensitive
11+
[Variables]
12+
#Values need to be overwritten to create a cache
13+
UseCache = True
14+
CreateCache = False
15+
16+
# Settings applicable for all Crafts matrices
17+
# Settings are Category/key=value
18+
# Category is case sensitive
19+
[GeneralSettings]
20+
21+
General/MacDeploymentTarget = 12.0
22+
23+
Compile/BuildType = RelWithDebInfo
24+
25+
Compile/UseNinja = True
26+
27+
ShortPath/Enabled = False
28+
ShortPath/EnableJunctions = False
29+
30+
Packager/CacheVersion = 25.01
31+
ContinuousIntegration/Enabled = True
32+
33+
Packager/UseCache = ${Variables:UseCache}
34+
Packager/CreateCache = ${Variables:CreateCache}
35+
Packager/CacheDir = ${Variables:Root}\cache
36+
37+
[BlueprintSettings]
38+
nextcloud-client.buildTests = True
39+
binary/mysql.useMariaDB = False
40+
libs/qt6.version = 6.8.2
41+
craft/craft-blueprints-kde.revision = 8949a63ae62e88983839d0b5fb008e9990e97135
42+
43+
[windows-msvc2022_64-cl]
44+
Packager/PackageType = NullsoftInstallerPackager
45+
QtSDK/Compiler = msvc2022_64
46+
General/ABI = windows-msvc2022_64-cl
47+
Paths/Python = C:\Python312-x64
48+
49+
Packager/RepositoryUrl = https://download.nextcloud.com/desktop/development/craftCache/
50+
Packager/CacheVersion = 25.03-nc
51+
52+
[macos-64-clang]
53+
General/ABI = macos-64-clang
54+
55+
Packager/RepositoryUrl = https://download.nextcloud.com/desktop/development/craftCache/
56+
Packager/CacheVersion = 25.03-nc
57+
58+
[macos-clang-arm64]
59+
General/ABI = macos-clang-arm64
60+
Paths/Python = /Users/runner/hostedtoolcache/Python/3.12.3/arm64
61+
62+
Packager/RepositoryUrl = https://download.nextcloud.com/desktop/development/craftCache/
63+
Packager/CacheVersion = 25.03-nc
64+
65+
[Env]
66+
CRAFT_CODESIGN_CERTIFICATE =
67+
SIGN_PACKAGE = False
68+
69+
[Custom_Variables_for_Brander]
70+
qtPath = /opt/qt
71+
dockerImage = ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-el8-6.8.2-1

0 commit comments

Comments
 (0)