-
Notifications
You must be signed in to change notification settings - Fork 283
89 lines (73 loc) · 2.78 KB
/
test_build_quick.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: 'Quick Tests'
on:
workflow_dispatch:
push:
# For now, there's nothing in the following directories that we're actually checking.
paths-ignore: [ 'distribution/**', 'doc/**', 'source-doc/**' ]
pull_request:
# For now, there's nothing in the following directories that we're actually checking.
paths-ignore: [ 'distribution/**', 'doc/**', 'source-doc/**' ]
jobs:
build_unix:
name: 'Unix Build Test'
runs-on: ubuntu-latest
steps:
- name: 'Check out Repository'
uses: actions/checkout@v2
- name: 'Install Prerequisites'
uses: POV-Ray/povray/.github/actions/unix_getlibs@gh-actions-v1
- name: 'Prebuild'
uses: POV-Ray/povray/.github/actions/unix_prebuild@gh-actions-v1
- name: 'Sanity-Check Working Tree'
uses: POV-Ray/povray/.github/actions/git_check_repo@gh-actions-v1
- name: 'Configure'
uses: POV-Ray/povray/.github/actions/unix_configure@gh-actions-v1
- name: 'Sanity-Check Working Tree'
uses: POV-Ray/povray/.github/actions/git_check_repo@gh-actions-v1
- name: 'Bundle Artifacts for Diagnostics'
if: ${{ always() }}
uses: POV-Ray/povray/.github/actions/git_bundle_ignored@gh-actions-v1
with:
name: artifact_diag_unix.tar.gz
- name: 'Build'
uses: POV-Ray/povray/.github/actions/unix_make@gh-actions-v1
- name: 'Sanity-Check Working Tree'
uses: POV-Ray/povray/.github/actions/git_check_repo@gh-actions-v1
- name: 'Check Functionality'
uses: POV-Ray/povray/.github/actions/unix_make@gh-actions-v1
with:
make-target: check
- name: 'Sanity-Check Working Tree'
uses: POV-Ray/povray/.github/actions/git_check_repo@gh-actions-v1
# - name: 'Install'
# uses: POV-Ray/povray/.github/actions/unix_make@gh-actions-v1
# with:
# make-target: install
# - name: 'Sanity-Check Working Tree'
# uses: POV-Ray/povray/.github/actions/git_check_repo@gh-actions-v1
- name: 'Upload Artifacts for Diagnostics'
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: artifact_diag_unix
path: artifact_diag_unix.tar.gz
# TODO: Maybe do some basic installation checking.
build_windows:
name: 'Windows Build Test'
runs-on: windows-latest
steps:
- name: 'Check out Repository'
uses: actions/checkout@v2
- name: 'Add MSBuild to PATH'
uses: microsoft/[email protected]
- name: 'Build'
uses: POV-Ray/povray/.github/actions/windows_build@gh-actions-v1
with:
pov-ray-build-id: gh${{github.run_number}}
solution: vs2015
configuration: Release
platform: x64
toolset: v142
msbuild-options: ''
- name: 'Sanity-Check Working Tree'
uses: POV-Ray/povray/.github/actions/git_check_repo@gh-actions-v1