-
Notifications
You must be signed in to change notification settings - Fork 87
100 lines (96 loc) · 2.54 KB
/
blackhole-post-commit.yaml
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
name: "Blackhole post-commit tests"
on:
workflow_call:
workflow_dispatch:
schedule:
- cron: "0 */2 * * *"
# Pause this since not enough runners to support every commit to main
# push:
# branches: ["main"]
permissions:
actions: read
contents: write
pull-requests: write
pages: write
id-token: write
packages: write
jobs:
static-checks:
uses: ./.github/workflows/all-static-checks.yaml
secrets: inherit
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
with:
os: "ubuntu-22.04-amd64"
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
with:
os: "ubuntu-22.04-amd64"
arch: '["blackhole"]'
build-docker: false
build-wheels:
needs: build-artifact
uses: ./.github/workflows/_build-wheels-impl.yaml
with:
os: "ubuntu-22.04"
arch: "blackhole"
from-precompiled: true
# build-artifact-profiler:
# uses: ./.github/workflows/build-artifact.yaml
# with:
# profiler-build: true
# secrets: inherit
umd-unit-tests:
secrets: inherit
uses: ./.github/workflows/umd-unit-tests.yaml
with:
arch: blackhole
runner-label: BH
sd-unit-tests:
needs: build-artifact
uses: ./.github/workflows/build-and-unit-tests.yaml
secrets: inherit
with:
arch: blackhole
runner-label: BH
timeout: 30
os: "ubuntu-22.04"
fd-unit-tests:
needs: build-wheels
uses: ./.github/workflows/fast-dispatch-build-and-unit-tests.yaml
secrets: inherit
with:
arch: blackhole
runner-label: BH
os: "ubuntu-22.04"
# FD C++ Unit Tests
cpp-unit-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/cpp-post-commit.yaml
with:
arch: blackhole
runner-label: BH
timeout: 60
os: "ubuntu-22.04"
# profiler-regression:
# needs: build-artifact-profiler
# uses: ./.github/workflows/run-profiler-regression.yaml
# secrets: inherit
# build-and-test-wheels:
# uses: Check all-post-commit yaml for directions
# secrets: inherit
# build-docs:
# needs: build-artifact
# uses: ./.github/workflows/docs-latest-public.yaml
# secrets: inherit
# build:
# uses: ./.github/workflows/build.yaml
# secrets: inherit
# We used to use this for post-commit, but we didn't have enough runners
# to support the number of developers running this workflow
# build-and-test-measure-perf:
# build-and-test-measure-perf-device: