Allow running CI builds with tmate enabled
Add a disabled by default step allowing to connect to CI machine via ssh, this can be useful for debugging the problems that can't be reproduced locally.
This commit is contained in:
parent
934fb8c228
commit
f7b2036a92
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -48,6 +48,13 @@ on:
|
|||
- '*.yml'
|
||||
- 'CMakeLists.txt'
|
||||
- 'wxwidgets.props'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
debug_tests:
|
||||
type: boolean
|
||||
description: 'Enable ssh server before running the tests'
|
||||
required: false
|
||||
default: false
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
@ -271,6 +278,10 @@ jobs:
|
|||
make $wxBUILD_ARGS failtest
|
||||
make -k $wxBUILD_ARGS "CXXFLAGS=$wxMAKEFILE_CXXFLAGS" "LDFLAGS=$wxMAKEFILE_LDFLAGS"
|
||||
|
||||
- name: Setup tmate
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_tests }}
|
||||
|
||||
- name: Setup Python
|
||||
if: matrix.container == ''
|
||||
uses: actions/setup-python@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue