Commit 692d33b 1 parent 6b2ab86 commit 692d33b Copy full SHA for 692d33b
File tree 1 file changed +80
-0
lines changed
1 file changed +80
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Starc for Windows
2
+
3
+ env :
4
+ APP_VERSION : 0.7.6
5
+
6
+ on :
7
+ workflow_dispatch : {}
8
+
9
+ jobs :
10
+ build_windows_64 :
11
+ name : Build Windows 64 version
12
+ runs-on : windows-latest
13
+ timeout-minutes : 60
14
+ steps :
15
+ - name : Checkout sources for pull request event
16
+ uses : actions/checkout@master
17
+
18
+
19
+ - name : Checkout submodules for pull request event
20
+ shell : bash
21
+ run : |
22
+ git submodule update --init --recursive src/3rd_party/qbreakpad/ src/3rd_party/pdfhummus/ src/3rd_party/pdftextextraction/
23
+
24
+ - name : Add info about dev build to the env
25
+ shell : bash
26
+ run : |
27
+ echo "DEV_BUILD=$(git rev-list `git rev-list --tags --no-walk --max-count=1`..HEAD --count)" >> $GITHUB_ENV
28
+
29
+ - name : Install Qt
30
+ uses : jurplel/install-qt-action@v3
31
+ with :
32
+ version : 5.15.2
33
+ arch : win64_msvc2019_64
34
+ target : desktop
35
+ setup-python : false
36
+
37
+ - name : Install dependencies
38
+ shell : bash
39
+ run : |
40
+ choco install openssl --version=3.1.1
41
+
42
+ - name : Configure MSVC
43
+ uses : ilammy/msvc-dev-cmd@v1
44
+ with :
45
+ arch : x64
46
+
47
+ - name : Run QMake
48
+ shell : bash
49
+ run : |
50
+ cd src
51
+ qmake starc.pro CONFIG+=release DEFINES+="DEV_BUILD=$DEV_BUILD"
52
+
53
+ - name : Build
54
+ run : |
55
+ cd src
56
+ nmake
57
+
58
+ - name : Prepare installer folder
59
+ shell : bash
60
+ run : |
61
+ cd build/windows
62
+ ./make-exe_64.sh ${{env.APP_VERSION}}
63
+
64
+ - name : make MSIX package
65
+ shell : cmd
66
+ run : |
67
+ copy AppxManifest.xml build/windows/files_64
68
+ MakeAppx pack /d build/windows/files_64 /p build/windows/starc-package.msix
69
+
70
+ - name : Collect MSIX package
71
+ uses : actions/upload-artifact@v4
72
+ with :
73
+ name : msix-package
74
+ path : build/windows/starc-package.msix
75
+
76
+ - name : Get MSIX package
77
+ uses : actions/download-artifact@v4
78
+ with :
79
+ name : msix-package
80
+
You can’t perform that action at this time.
0 commit comments