-
Notifications
You must be signed in to change notification settings - Fork 7
52 lines (42 loc) · 1.24 KB
/
ci.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
50
51
52
name: Continuous Integration
on:
push:
paths-ignore:
- 'docs/**'
- '**/*.md'
- '**/*.gitignore'
- '**/*.gitattributes'
workflow_dispatch:
permissions:
contents: read
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs:
build:
runs-on: macos-latest
name: Build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
include-prerelease: true
- uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '11'
- name: Install MAUI Workloads
run: |
dotnet workload install android --ignore-failed-sources
dotnet workload install maui-android --ignore-failed-sources
dotnet workload install maui-tizen --ignore-failed-sources
dotnet workload install maui-ios
dotnet workload install maccatalyst
- name: Restore Dependencies
run: dotnet restore Trimble.Modus.Components.sln
- name: Build MAUI Android
run: dotnet build Trimble.Modus.Components.sln -f net8.0-android -c Release --no-restore