-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (37 loc) · 1.11 KB
/
Copy pathci.yml
File metadata and controls
50 lines (37 loc) · 1.11 KB
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
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
checks: write
pull-requests: write
jobs:
test:
uses: ./.github/workflows/test.yml
build-maui-windows:
name: Build MAUI (Windows)
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v6
- name: Install MAUI workload
run: dotnet workload install maui
- name: Build MAUI Windows host
run: dotnet publish Physiquinator.csproj -f net11.0-windows10.0.19041.0 --configuration Release -p:WindowsPackageType=None -o ./artifacts/windows-ci
build-wasm:
name: Build WebAssembly host
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v6
- name: Install WebAssembly tools workload
run: dotnet workload install wasm-tools
- name: Publish WASM host
run: dotnet publish Physiquinator.Wasm/Physiquinator.Wasm.csproj --configuration Release -o ./artifacts/wasm-ci