-
-
Notifications
You must be signed in to change notification settings - Fork 0
92 lines (84 loc) · 2.22 KB
/
lab.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
name: Lab
on:
workflow_dispatch:
inputs:
platform:
type: choice
required: true
description: Which platform to start a lab instance on
options:
- e2e
- linux
- windows
- windows-wsl2
- macos-intel
- macos-apple-silicon
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: ./.github/actions/build
e2e-lab:
if: github.event.inputs.platform == 'e2e'
runs-on: ubuntu-latest
timeout-minutes: 20
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/e2e
- uses: mxschmitt/action-tmate@v3
if: ${{ failure() }}
linux-lab:
if: github.event.inputs.platform == 'linux'
runs-on: ubuntu-latest
timeout-minutes: 60
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/linux
- uses: mxschmitt/action-tmate@v3
if: ${{ failure() }}
macos-intel-lab:
if: github.event.inputs.platform == 'macos-intel'
runs-on: macos-13
timeout-minutes: 60
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/mac-intel
- uses: mxschmitt/action-tmate@v3
if: ${{ failure() }}
macos-apple-silicon-lab:
if: github.event.inputs.platform == 'macos-apple-silicon'
runs-on: macos-14
timeout-minutes: 60
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/mac-apple-silicon
- uses: mxschmitt/action-tmate@v3
if: ${{ failure() }}
windows-lab:
if: github.event.inputs.platform == 'windows'
runs-on: windows-latest
timeout-minutes: 60
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/windows
- uses: mxschmitt/action-tmate@v3
if: ${{ failure() }}
windows-wsl2-lab:
if: github.event.inputs.platform == 'windows-wsl2'
runs-on: windows-latest
timeout-minutes: 60
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/windows-wsl2
- uses: mxschmitt/action-tmate@v3
if: ${{ failure() }}