Lab #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
# https://github.com/orgs/community/discussions/45140#discussioncomment-7740994 | |
concurrency: | |
cancel-in-progress: false | |
group: ${{ ((endsWith(github.run_number, '0') || endsWith(github.run_number, '3') || endsWith(github.run_number, '6') || endsWith(github.run_number, '9'))) && '0' || (((endsWith(github.run_number, '1') || endsWith(github.run_number, '4') || endsWith(github.run_number, '7'))) && '1' || '2') }} | |
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() }} |