-
-
Notifications
You must be signed in to change notification settings - Fork 105
128 lines (111 loc) · 2.92 KB
/
win-builds.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
name: Windows build
on: push
jobs:
winstore:
name: Windows (store)
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Dependencies
shell: bash
run: |
./ci/win32.deps.sh
- name: Build
shell: cmd
run: |
call "%cd%\ci\win32store.build.cmd"
- name: Create certificate
shell: pwsh
env:
OSSIA_WIN32_CERT_SUBJECT: ${{ secrets.OSSIA_WIN32_CERT_SUBJECT }}
OSSIA_WIN32_CERT_PASSWORD: ${{ secrets.OSSIA_WIN32_CERT_PASSWORD }}
run: |
.\ci\win32store.cert.ps1
- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
with:
arch: x64
- name: Deploy
shell: cmd
env:
OSSIA_WIN32_CERT_SUBJECT: ${{ secrets.OSSIA_WIN32_CERT_SUBJECT }}
OSSIA_WIN32_CERT_PASSWORD: ${{ secrets.OSSIA_WIN32_CERT_PASSWORD }}
run: |
call "%cd%\ci\win32store.deploy.cmd"
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: windows-store
path: |
output/*.appxbundle
mingw:
runs-on: windows-latest
strategy:
matrix:
include:
- { sys: mingw64, env: x86_64 }
- { sys: ucrt64, env: ucrt-x86_64 }
- { sys: clang64, env: clang-x86_64 }
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup msys2 and mingw-w64
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
update: true
pacboy: >-
cmake:p
ninja:p
toolchain:p
qt6-base:p
qt6-declarative:p
qt6-websockets:p
qt6-serialport:p
qt6-shadertools:p
qt6-5compat:p
qt6-scxml:p
qt6-tools:p
boost:p
portaudio:p
fftw:p
ffmpeg:p
SDL2:p
- name: Dependencies
shell: msys2 {0}
run: |
./ci/mingw.deps.sh
- name: Build
shell: msys2 {0}
run: |
./ci/mingw.build.sh
winmvsc:
name: MSVC
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 6.7.*
modules: qtwebsockets qtserialport qtscxml qtshadertools
- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
with:
arch: x64
- name: Dependencies
shell: bash
run: |
./ci/win32msvc.deps.sh
- name: Build
shell: cmd
run: |
call "%cd%\ci\win32msvc.build.cmd"