-
Notifications
You must be signed in to change notification settings - Fork 15
120 lines (111 loc) · 2.59 KB
/
main.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: CI
on:
push:
branches:
- devel
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:
inputs:
rust-cache:
description: Use existing rust cache?
required: false
default: false
type: boolean
jobs:
Setup:
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.pull_request.draft == false }}
runs-on: ubuntu-latest
steps:
- run: exit 0
# Build shards for emscripten
#
wasm32-emscripten-mt:
# needs: [Setup, Linux-Release]
needs: [Setup]
uses: ./.github/workflows/build-wasm.yml
secrets: inherit
#
# Build shards for linux
#
# Linux-Debug:
# needs: Setup
# uses: ./.github/workflows/build-linux.yml
# secrets: inherit
# with:
# build-type: Debug
# run-tests: true
# Linux-Release:
# needs: Setup
# uses: ./.github/workflows/build-linux.yml
# secrets: inherit
# with:
# build-type: Release
# run-tests: true
# MacOS-GPU:
# needs: Setup
# uses: ./.github/workflows/test-macos-gpu.yml
# secrets: inherit
# with:
# build-type: Debug
# Codecov:
# needs: [Linux-Debug, MacOS-GPU]
# uses: ./.github/workflows/codecov.yml
# secrets: inherit
#
# Build shards and run valgrind on Linux
#
# Linux-valgrind:
# needs: Setup
# uses: ./.github/workflows/build-linux-valgrind.yml
# secrets: inherit
#
# Build shards for Windows
#
# Windows-Debug:
# needs: Setup
# uses: ./.github/workflows/build-windows.yml
# secrets: inherit
# with:
# build-type: Debug
# run-tests: true
# Windows-Release:
# needs: Setup
# uses: ./.github/workflows/build-windows.yml
# secrets: inherit
# with:
# build-type: Release
# run-tests: true
#
# Build the documentation
#
# docs:
# needs: [Windows-Debug, Windows-Release]
# uses: ./.github/workflows/build-doc.yml
# secrets: inherit
# with:
# publish: ${{ github.ref == 'refs/heads/devel' && github.event_name == 'push' }}
#
# Build shards for macOS
#
# macOS-Debug:
# needs: Setup
# uses: ./.github/workflows/build-macos.yml
# secrets: inherit
# with:
# build-type: Debug
# run-tests: true
# macOS-Release:
# needs: Setup
# uses: ./.github/workflows/build-macos.yml
# secrets: inherit
# with:
# build-type: Release
# run-tests: true
#
# Build shards for iOS
#
# iOS:
# needs: Setup
# uses: ./.github/workflows/build-ios.yml
# secrets: inherit