-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1.24 KB
/
build.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
name: Build
on:
pull_request:
push:
branches:
- dev
jobs:
call-msbuild-and-test-workflow-larger-runner:
name: Build (larger runner)
if: github.ref_name != github.event.repository.default_branch
uses: Lombiq/GitHub-Actions/.github/workflows/msbuild-and-test.yml@dev
secrets:
CHECKOUT_TOKEN: ${{ secrets.LOMBIQBOT_GITHUB_PERSONAL_ACCESS_TOKEN }}
with:
cancel-workflow-on-failure: "false"
build-directory: "src"
solution-or-project-path: "Lombiq.OSOE.sln"
build-treat-warnings-as-errors: "false"
build-enable-code-analysis: "false"
test-disable: "true"
timeout-minutes: 10
machine-type: "windows-latest-8core"
call-msbuild-and-test-workflow-standard-runner:
name: Build
if: github.ref_name == github.event.repository.default_branch
uses: Lombiq/GitHub-Actions/.github/workflows/msbuild-and-test.yml@dev
secrets:
CHECKOUT_TOKEN: ${{ secrets.LOMBIQBOT_GITHUB_PERSONAL_ACCESS_TOKEN }}
with:
cancel-workflow-on-failure: "false"
build-directory: "src"
solution-or-project-path: "Lombiq.OSOE.sln"
build-treat-warnings-as-errors: "false"
build-enable-code-analysis: "false"
test-disable: "true"
timeout-minutes: 20