forked from stride3d/stride
-
-
Notifications
You must be signed in to change notification settings - Fork 0
95 lines (86 loc) · 2.17 KB
/
main.yml
File metadata and controls
95 lines (86 loc) · 2.17 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
name: CI
on:
push:
branches:
- master
paths:
- '.github/workflows/**'
- 'build/**'
- 'deps/**'
- 'sources/**'
- '!**/.all-contributorsrc'
- '!**/.editorconfig'
- '!**/.gitignore'
- '!**/*.md'
- '!crowdin.yml'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
### Misc. ###
Assembly-Processor:
strategy:
matrix:
build-type: [Release]
uses: ./.github/workflows/build-assembly-processor.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
VS-Package:
strategy:
matrix:
build-type: [Debug] # Release has a bug and cannot build
uses: ./.github/workflows/build-vs-package.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
### Runtimes ###
# Android-Runtime:
# strategy:
# matrix:
# build-type: [Release]
# uses: ./.github/workflows/build-android.yml
# secrets: inherit
# with:
# build-type: ${{ matrix.build-type }}
iOS-Runtime:
strategy:
matrix:
build-type: [Release]
uses: ./.github/workflows/build-ios.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
Linux-Runtime:
strategy:
matrix:
build-type: [Release]
graphics-api: [OpenGL, Vulkan]
uses: ./.github/workflows/build-linux-runtime.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
graphics-api: ${{ matrix.graphics-api }}
Windows-Runtime:
strategy:
matrix:
build-type: [Release]
graphics-api: [Direct3D11, Direct3D12, OpenGL, OpenGLES, Vulkan]
uses: ./.github/workflows/build-windows-runtime.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
graphics-api: ${{ matrix.graphics-api }}
### Tests ###
Windows-Tests:
needs: Windows-Runtime
strategy:
matrix:
build-type: [Release]
test-category: [Simple]
uses: ./.github/workflows/test-windows.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
test-category: ${{ matrix.test-category }}