File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 11env :
22 CIRRUS_CLONE_DEPTH : 1
3+ CIRRUS_CLONE_SUBMODULES : true
34
45freebsd_task :
56 name : FREEBSD_DEBUG_NTS
Original file line number Diff line number Diff line change 7474 container :
7575 image : ${{ matrix.asan && 'ubuntu:23.04' || null }}
7676 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
7788 - name : git checkout
7889 uses : actions/checkout@v3
90+ with :
91+ submodules : ' recursive'
7992 - name : apt
8093 uses : ./.github/actions/apt-x64
8194 - name : System info
@@ -139,6 +152,8 @@ jobs:
139152 steps :
140153 - name : git checkout
141154 uses : actions/checkout@v3
155+ with :
156+ submodules : ' recursive'
142157 - name : brew
143158 uses : ./.github/actions/brew
144159 - name : ccache
@@ -186,6 +201,8 @@ jobs:
186201 run : git config --global core.autocrlf false && git config --global core.eol lf
187202 - name : git checkout
188203 uses : actions/checkout@v3
204+ with :
205+ submodules : ' recursive'
189206 - name : Setup
190207 uses : ./.github/actions/setup-windows
191208 - name : Build
@@ -201,6 +218,7 @@ jobs:
201218 uses : actions/checkout@v3
202219 with :
203220 fetch-depth : 0
221+ submodules : ' recursive'
204222 - name : apt
205223 run : |
206224 set -x
You can’t perform that action at this time.
0 commit comments