-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (30 loc) · 963 Bytes
/
build.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
name: build
on:
push:
paths: [ '.github/workflows/build.yml', 'XamlIslandsCpp.sln', 'publish.py', 'src/**' ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
platform: ["x64", "ARM64"]
packaged: ["unpackaged", "packaged"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build
run: python publish.py ${{ matrix.platform }} ${{ matrix.packaged}}
- name: Store build
if: ${{ matrix.packaged == 'unpackaged' }}
uses: actions/upload-artifact@v4
with:
name: XamlIslandsCpp-${{ matrix.platform }}
path: ./publish/${{ matrix.platform }}
- name: Store build
if: ${{ matrix.packaged == 'packaged' }}
uses: actions/upload-artifact@v4
with:
name: XamlIslandsCpp-${{ matrix.platform }}-sideload
path: ./publish/${{ matrix.platform }}-sideload