Skip to content

Commit

Permalink
SSH into runners
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Aug 30, 2024
1 parent cc68d51 commit 262ad08
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: CI Linux
on:
workflow_call:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled'
required: false
default: false
pull_request:
merge_group:
push:
Expand Down Expand Up @@ -51,8 +57,9 @@ jobs:

- name: Install deps
run: |
dnf install -y almalinux-release-devel epel-release
yum remove -y openssl-devel zlib-devel || true
yum install -y protobuf-devel protobuf-compiler
yum install -y protobuf-devel protobuf-compiler tmate
- name: Sync source deps
run: |
Expand Down Expand Up @@ -95,6 +102,13 @@ jobs:
path: ${{ env.CACHE_DIR }}
key: ${{ env.CACHE_KEY }}

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/[email protected]
with:
limit-access-to-actor: true
install-dependencies: false

test_linux:
name: E2E Test linux
needs: build_and_ctest
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: CI MacOS
on:
workflow_call:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled'
required: false
default: false
pull_request:
merge_group:
push:
Expand Down Expand Up @@ -89,3 +95,9 @@ jobs:
with:
path: ${{ env.CACHE_DIR }}
key: ${{ env.CACHE_KEY }}

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/[email protected]
with:
limit-access-to-actor: true
12 changes: 12 additions & 0 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: CI Windows
on:
workflow_call:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled'
required: false
default: false
pull_request:
merge_group:
push:
Expand Down Expand Up @@ -98,6 +104,12 @@ jobs:
path: ${{ env.CACHE_DIR }}
key: ${{ env.CACHE_KEY }}

- name: Setup tmate session
if: ${{ failure() && inputs.debug_enabled }}
uses: mxschmitt/[email protected]
with:
limit-access-to-actor: true

test_windows:
name: E2E Test windows
runs-on: windows-phoenix
Expand Down

0 comments on commit 262ad08

Please sign in to comment.