-
Notifications
You must be signed in to change notification settings - Fork 5
69 lines (64 loc) · 1.77 KB
/
ci.yml
File metadata and controls
69 lines (64 loc) · 1.77 KB
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
60
61
62
63
64
65
66
67
68
69
name: CI
concurrency:
group: ${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
pull_request:
workflow_dispatch:
inputs:
test_linux:
type: boolean
default: true
description: "Run Linux Build and Test"
test_windows:
type: boolean
default: true
description: "Run Windows Build and Test"
test_macintosh:
type: boolean
default: true
description: "Run Mac OS Build"
build_source_dist:
type: boolean
default: true
description: "Build Source Distribution"
upload_artifacts:
type: boolean
default: true
description: "Upload Artifacts"
schedule:
- cron: "0 0 * * 0"
jobs:
weekly_build:
if: ${{ github.event_name == 'schedule' }}
name: Weekly Build
uses: "./.github/workflows/reusable_buildtest.yml"
with:
test_linux: true
test_windows: true
test_macintosh: true
build_source_dist: false
upload_artifacts: false
secrets: inherit
pr_test:
if: ${{ github.event_name == 'pull_request' }}
name: Pull Request Tests
uses: "./.github/workflows/reusable_buildtest.yml"
with:
test_linux: true
test_windows: true
test_macintosh: true
build_source_dist: true
upload_artifacts: false
secrets: inherit
manual_test:
if: ${{ github.event_name == 'workflow_dispatch' }}
name: Manual Test
uses: "./.github/workflows/reusable_buildtest.yml"
with:
test_linux: ${{ inputs.test_linux }}
test_windows: ${{ inputs.test_windows }}
test_macintosh: ${{ inputs.test_macintosh }}
build_source_dist: ${{ inputs.build_source_dist }}
upload_artifacts: ${{ inputs.upload_artifacts }}
secrets: inherit