-
Notifications
You must be signed in to change notification settings - Fork 135
59 lines (56 loc) · 1.49 KB
/
ci.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: CI
on: [pull_request]
jobs:
# Make sure we only invoke known gradle-wrapper.jar files
gradleValidation:
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v2
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
windows:
needs: gradleValidation
runs-on: windows-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v2
- name: Setup .NET CLI
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Build and Tests
shell: powershell
run: powershell -File .\build.ps1 -RunTests -Verbose
- name: Upload artifact
if: always()
uses: actions/upload-artifact@v1
with:
name: nunit-reports
path: rider\build\nunit\reports
linux:
needs: gradleValidation
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v2
- name: Setup .NET CLI
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Build
shell: bash
run: ./build.sh --info --stacktrace
macos:
needs: gradleValidation
runs-on: macos-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v2
- name: Setup .NET CLI
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Build
shell: bash
run: ./build.sh --info --stacktrace