-
-
Notifications
You must be signed in to change notification settings - Fork 9
25 lines (19 loc) · 579 Bytes
/
Copy pathbuild.yml
File metadata and controls
25 lines (19 loc) · 579 Bytes
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
# Compile and test on every push/PR. Does NOT produce release packages.
# Installers for Windows, macOS, Linux, and Raspberry Pi: see publish.yml
name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build-and-test:
name: Build and test (Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
- run: dotnet build OscarWatch.slnx -c Release
- run: dotnet test OscarWatch.slnx -c Release --no-build