-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (39 loc) · 1.18 KB
/
pr.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
38
39
40
name: Serial Loops PR
run-name: PR for ${{ github.actor }} - ${{ github.ref_name }}
on:
pull_request:
types:
- opened
- reopened
branches:
- 'main'
- 'Avalonia'
jobs:
build_test:
strategy:
matrix:
platform:
- os: ubuntu-latest
targetFramework: net8.0
container: 'ghcr.io/haroohie-club/chokuretsu-devkitarm:main'
- os: macos-latest
targetFramework: net8.0
container: ''
- os: windows-latest
targetFramework: net8.0-windows
container: ''
runs-on: ${{ matrix.platform.os }}
container: ${{ matrix.platform.container }}
steps:
- name: Check out
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: '8.0.x'
- name: Build project
run: dotnet build src/SerialLoops/SerialLoops.csproj -f ${{ matrix.platform.targetFramework }}
- name: Run tests
run: dotnet test test/SerialLoops.Tests.Headless/SerialLoops.Tests.Headless.csproj -f ${{ matrix.platform.targetFramework }}
env:
ROM_URI: ${{ secrets.CHOKU_ROM_URI }}