Commit 39ffa2d 1 parent cc68d51 commit 39ffa2d Copy full SHA for 39ffa2d
File tree 3 files changed +54
-1
lines changed
3 files changed +54
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,17 @@ name: CI Linux
3
3
on :
4
4
workflow_call :
5
5
workflow_dispatch :
6
+ inputs :
7
+ debug_with_tmate :
8
+ type : boolean
9
+ description : ' Run the build with a tmate session in case of failure'
10
+ required : false
11
+ default : false
12
+ force_debug_with_tmate :
13
+ type : boolean
14
+ description : ' Run the build with tmate session'
15
+ required : false
16
+ default : false
6
17
pull_request :
7
18
merge_group :
8
19
push :
51
62
52
63
- name : Install deps
53
64
run : |
65
+ dnf install -y almalinux-release-devel epel-release
54
66
yum remove -y openssl-devel zlib-devel || true
55
- yum install -y protobuf-devel protobuf-compiler
67
+ yum install -y protobuf-devel protobuf-compiler tmate
56
68
57
69
- name : Sync source deps
58
70
run : |
@@ -95,6 +107,13 @@ jobs:
95
107
path : ${{ env.CACHE_DIR }}
96
108
key : ${{ env.CACHE_KEY }}
97
109
110
+ - name : Setup tmate session
111
+ if : ${{ (failure() && inputs.debug_with_tmate) || inputs.force_debug_with_tmate }}
112
+
113
+ with :
114
+ limit-access-to-actor : true
115
+ install-dependencies : false
116
+
98
117
test_linux :
99
118
name : E2E Test linux
100
119
needs : build_and_ctest
Original file line number Diff line number Diff line change @@ -3,6 +3,17 @@ name: CI MacOS
3
3
on :
4
4
workflow_call :
5
5
workflow_dispatch :
6
+ inputs :
7
+ debug_with_tmate :
8
+ type : boolean
9
+ description : ' Run the build with a tmate session in case of failure'
10
+ required : false
11
+ default : false
12
+ force_debug_with_tmate :
13
+ type : boolean
14
+ description : ' Run the build with tmate session'
15
+ required : false
16
+ default : false
6
17
pull_request :
7
18
merge_group :
8
19
push :
89
100
with :
90
101
path : ${{ env.CACHE_DIR }}
91
102
key : ${{ env.CACHE_KEY }}
103
+
104
+ - name : Setup tmate session
105
+ if : ${{ (failure() && inputs.debug_with_tmate) || inputs.force_debug_with_tmate }}
106
+
107
+ with :
108
+ limit-access-to-actor : true
Original file line number Diff line number Diff line change @@ -3,6 +3,17 @@ name: CI Windows
3
3
on :
4
4
workflow_call :
5
5
workflow_dispatch :
6
+ inputs :
7
+ debug_with_tmate :
8
+ type : boolean
9
+ description : ' Run the build with a tmate session in case of failure'
10
+ required : false
11
+ default : false
12
+ force_debug_with_tmate :
13
+ type : boolean
14
+ description : ' Run the build with tmate session'
15
+ required : false
16
+ default : false
6
17
pull_request :
7
18
merge_group :
8
19
push :
@@ -98,6 +109,12 @@ jobs:
98
109
path : ${{ env.CACHE_DIR }}
99
110
key : ${{ env.CACHE_KEY }}
100
111
112
+ - name : Setup tmate session
113
+ if : ${{ (failure() && inputs.debug_with_tmate) || inputs.force_debug_with_tmate }}
114
+
115
+ with :
116
+ limit-access-to-actor : true
117
+
101
118
test_windows :
102
119
name : E2E Test windows
103
120
runs-on : windows-phoenix
You can’t perform that action at this time.
0 commit comments