-
Notifications
You must be signed in to change notification settings - Fork 26
46 lines (44 loc) · 1.56 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
name: CI
on:
pull_request:
schedule:
- cron: '0 0 * * *' # every day at midnight
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
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: '7.0.x'
- name: Build
shell: bash
working-directory: rider
run: ./gradlew -PBuildConfiguration=Release -PbuildNumber=${{ github.run_number }} buildPlugin
- name: Tests
shell: bash
working-directory: rider
run: ./gradlew -PBuildConfiguration=Release -PbuildNumber=${{ github.run_number }} test
- name: Upload Test Results
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}.test-results
path: build/reports/tests
if: ${{ always() }}
- name: Upload Test Logs
uses: actions/[email protected]
with:
name: ${{ runner.os }}.test-logs
path: build/idea-sandbox/system-test/log
if: ${{ always() }}