-
Notifications
You must be signed in to change notification settings - Fork 13
120 lines (112 loc) · 3.07 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
name: Build
on:
workflow_dispatch:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
- release/*
concurrency:
# Cancel any workflow currently in progress for the same PR.
# Allow running concurrently with any other commits.
group: build-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions: read-all
jobs:
# build-windows:
# name: WinUser
# needs: []
# strategy:
# fail-fast: false
# matrix:
# config: ['Debug', 'Release']
# plat: [windows] # TODO: Support uwp, gamecore_console
# os: ['windows-2022']
# arch: [x86, x64, arm64]
# uses: ./.github/workflows/build-reuse-win.yml
# with:
# config: ${{ matrix.config }}
# plat: ${{ matrix.plat }}
# os: ${{ matrix.os }}
# arch: ${{ matrix.arch }}
# build-windows-kernel:
# name: WinKernel
# needs: []
# strategy:
# fail-fast: false
# matrix:
# config: ['Debug', 'Release']
# plat: [winkernel]
# os: ['windows-2022']
# arch: [x64, arm64]
# uses: ./.github/workflows/build-reuse-winkernel.yml
# with:
# config: ${{ matrix.config }}
# plat: ${{ matrix.plat }}
# os: ${{ matrix.os }}
# arch: ${{ matrix.arch }}
# build-ubuntu-cross-compile:
# name: UbuntuArm
# needs: []
# strategy:
# fail-fast: false
# matrix:
# config: ['Debug', 'Release']
# plat: [linux]
# os: ['ubuntu-20.04', 'ubuntu-22.04']
# arch: [arm, arm64]
# uses: ./.github/workflows/build-reuse-unix.yml
# with:
# config: ${{ matrix.config }}
# plat: ${{ matrix.plat }}
# os: ${{ matrix.os }}
# arch: ${{ matrix.arch }}
build-ubuntu:
name: Ubuntu
needs: []
strategy:
fail-fast: false
matrix:
# config: ['Debug', 'Release']
config: ['Debug']
# plat: [linux, android]
plat: [linux]
# os: ['ubuntu-20.04', 'ubuntu-22.04']
os: ['ubuntu-22.04']
# arch: [x86, x64]
arch: [x64]
# clang: ['', '-Clang']
clang: ['']
exclude:
# Android doesn't support x86
- plat: android
arch: x86
# Android doesn't use Clang
- plat: android
clang: '-Clang'
uses: ./.github/workflows/build-reuse-unix.yml
with:
config: ${{ matrix.config }}
plat: ${{ matrix.plat }}
os: ${{ matrix.os }}
arch: ${{ matrix.arch }}
clang: ${{ matrix.clang }}
# build-darwin:
# name: MacOs
# needs: []
# strategy:
# fail-fast: false
# matrix:
# config: ['Debug', 'Release']
# plat: [macos, ios]
# os: ['macos-12']
# arch: [x64, arm64]
# uses: ./.github/workflows/build-reuse-unix.yml
# with:
# config: ${{ matrix.config }}
# plat: ${{ matrix.plat }}
# os: ${{ matrix.os }}
# arch: ${{ matrix.arch }}