File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1
1
env :
2
2
CIRRUS_CLONE_DEPTH : 1
3
+ CIRRUS_CLONE_SUBMODULES : true
3
4
4
5
freebsd_task :
5
6
name : FREEBSD_DEBUG_NTS
Original file line number Diff line number Diff line change 74
74
container :
75
75
image : ${{ matrix.asan && 'ubuntu:23.04' || null }}
76
76
steps :
77
+ # A workaround to checkout submodules for images without git
78
+ - name : apt git
79
+ run : |
80
+ set -x
81
+ export DEBIAN_FRONTEND=noninteractive
82
+ # Install sudo in Docker for consistent actions
83
+ if ! type "sudo" > /dev/null; then
84
+ apt-get update -y | true
85
+ apt-get install -y sudo
86
+ fi
87
+ sudo apt-get install -y git
77
88
- name : git checkout
78
89
uses : actions/checkout@v3
90
+ with :
91
+ submodules : ' recursive'
79
92
- name : apt
80
93
uses : ./.github/actions/apt-x64
81
94
- name : System info
@@ -139,6 +152,8 @@ jobs:
139
152
steps :
140
153
- name : git checkout
141
154
uses : actions/checkout@v3
155
+ with :
156
+ submodules : ' recursive'
142
157
- name : brew
143
158
uses : ./.github/actions/brew
144
159
- name : ccache
@@ -186,6 +201,8 @@ jobs:
186
201
run : git config --global core.autocrlf false && git config --global core.eol lf
187
202
- name : git checkout
188
203
uses : actions/checkout@v3
204
+ with :
205
+ submodules : ' recursive'
189
206
- name : Setup
190
207
uses : ./.github/actions/setup-windows
191
208
- name : Build
@@ -201,6 +218,7 @@ jobs:
201
218
uses : actions/checkout@v3
202
219
with :
203
220
fetch-depth : 0
221
+ submodules : ' recursive'
204
222
- name : apt
205
223
run : |
206
224
set -x
You can’t perform that action at this time.
0 commit comments