-
Notifications
You must be signed in to change notification settings - Fork 33
58 lines (53 loc) · 1.92 KB
/
build-and-test.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
name: Build and Test
# Runs for PRs opened for any branch, and pushes to the dev branch.
on:
pull_request:
push:
branches:
- dev
jobs:
build-and-test-larger-runners:
if: github.ref_name != github.event.repository.default_branch
name: Build and Test (larger runners)
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@dev
with:
parent-job-name: root-solution-larger-runners
machine-types: "['warp-ubuntu-2404-x64-4x']"
timeout-minutes: 15
build-configuration: Debug
build-enable-nuget-caching: 'true'
build-enable-npm-caching: 'true'
dotnet-version: |
6.0.427
8.0.301
build-and-test-standard-runners:
if: github.ref_name == github.event.repository.default_branch
name: Build and Test (standard runners)
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@dev
with:
parent-job-name: 'root-solution-standard-runners'
timeout-minutes: 30
build-configuration: Debug
dotnet-version: |
6.0.427
8.0.301
build-and-test-nuget-test:
name: Build and Test - NuGetTest solution
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@dev
with:
parent-job-name: 'nuget-solution'
build-directory: NuGetTest
timeout-minutes: 10
dotnet-version: |
6.0.427
8.0.301
post-pull-request-checks-automation:
name: Post Pull Request Checks Automation
needs: [build-and-test-larger-runners, build-and-test-nuget-test]
if: github.event.pull_request != ''
uses: Lombiq/GitHub-Actions/.github/workflows/post-pull-request-checks-automation.yml@dev
secrets:
JIRA_BASE_URL: ${{ secrets.DEFAULT_JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.DEFAULT_JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.DEFAULT_JIRA_API_TOKEN }}
MERGE_TOKEN: ${{ secrets.LOMBIQBOT_GITHUB_PERSONAL_ACCESS_TOKEN }}