-
Notifications
You must be signed in to change notification settings - Fork 104
89 lines (76 loc) · 1.94 KB
/
build-windows.yml
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
name: Build-windows
on:
push:
pull_request:
workflow_dispatch:
env:
VULKAN_SDK_VERSION: 1.3.275.0
jobs:
Windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
strategy:
matrix:
include:
- { sys: mingw64, env: x86_64 }
- { sys: ucrt64, env: ucrt-x86_64 }
- { sys: clang64, env: clang-x86_64 }
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- uses: msys2/setup-msys2@v2
with:
update: true
msystem: ${{matrix.sys}}
install: >-
git
wget
pacboy: >-
cmake:p
toolchain:p
libsigc++:p
cairomm:p
yaml-cpp:p
glfw:p
catch:p
vulkan-headers:p
vulkan-loader:p
shaderc:p
glslang:p
spirv-tools:p
ffts:p
- name: Build
run: |
mkdir build
cd build
cmake .. -GNinja
ninja
- name: Test
if: ${{ false }}
shell: msys2 {0}
run: |
ninja test
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: glscopeclient-build-windows-${{ runner.os }}-${{ matrix.env }}-${{ github.job }}
path: build
# - name: Upload Artifacts
# uses: actions/upload-artifact@v4
# with:
# name: glscopeclient-windows-${{ runner.os }}-${{ github.job }}
# path: msys2/*.zst
# - name: Upload Artifacts (ngscopeclient portable zip)
# uses: actions/upload-artifact@v4
# with:
# name: ngscopeclient-windows-portable-${{ runner.os }}-${{ github.job }}
# path: build/dist/ngscopeclient*.zip
# - name: Upload Artifacts (ngscopeclient MSI)
# uses: actions/upload-artifact@v4
# with:
# name: ngscopeclient-${{ runner.os }}-${{ github.job }}.msi
# path: build/dist/ngscopeclient*.msi