-
-
Notifications
You must be signed in to change notification settings - Fork 207
33 lines (29 loc) · 915 Bytes
/
dotnet.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
name: .NET Core
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Setup .NET 9.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 9.0.x
- name: Restore
run: dotnet restore
- name: Peachpie.Runtime.Tests
run: dotnet test ./src/Tests/Peachpie.Runtime.Tests --verbosity normal
- name: Peachpie.DiagnosticTests
run: dotnet test ./src/Tests/Peachpie.DiagnosticTests --verbosity normal
# - name: Peachpie.ScriptTests
# run: dotnet test ./src/Tests/Peachpie.ScriptTests --verbosity normal
- name: Build
run: dotnet build ./src/Peachpie.NET.Sdk/ -c Release --no-restore -p:VersionSuffix=ghaction${{github.run_number}}