Skip to content

Commit cc8d13c

Browse files
committed
add package workflow
1 parent b115905 commit cc8d13c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/package.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Package
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
8+
jobs:
9+
package:
10+
runs-on: windows-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: Install Ninja
15+
run: choco install ninja
16+
- name: Generate Ninja build
17+
run: cmake -B build -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo
18+
- name: Package
19+
run: cmake --build build --target package
20+
- uses: actions/upload-artifact@v3
21+
with:
22+
name: package
23+
path: build/*.msi
24+
if-no-files-found: error

0 commit comments

Comments
 (0)