-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (49 loc) · 1.07 KB
/
package.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
name: package
on:
push:
branches:
- main
- test
jobs:
package_snap:
name: Create Snap
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: snapcore/action-build@v1
id: snapcraft
- uses: actions/upload-artifact@v2
with:
name: snap
path: ${{ steps.snapcraft.outputs.snap }}
package_web:
name: Create Web Assembly
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: ./actions/build-web
- uses: actions/upload-artifact@v2
with:
name: web
path: bin
package_win:
name: Create Windows binary
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Configure
shell: powershell
run: cmake . -DCMAKE_BUILD_TYPE=Release
- name: Build
shell: powershell
run: cmake --build . --config Release
- uses: actions/upload-artifact@v2
with:
name: win
path: bin