File tree 3 files changed +4
-13
lines changed
3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -449,20 +449,11 @@ jobs:
449
449
if : needs.ci-config.outputs.enabled == 'yes'
450
450
env :
451
451
jobname : sparse
452
- runs-on : ubuntu-20 .04
452
+ runs-on : ubuntu-22 .04
453
453
concurrency :
454
454
group : sparse-${{ github.ref }}
455
455
cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
456
456
steps :
457
- - name : Download a current `sparse` package
458
- # Ubuntu's `sparse` version is too old for us
459
- uses : git-for-windows/get-azure-pipelines-artifact@v0
460
- with :
461
- repository : git/git
462
- definitionId : 10
463
- artifact : sparse-20.04
464
- - name : Install the current `sparse` package
465
- run : sudo dpkg -i sparse-20.04/sparse_*.deb
466
457
- uses : actions/checkout@v4
467
458
- name : Install other dependencies
468
459
run : ci/install-dependencies.sh
Original file line number Diff line number Diff line change @@ -1418,7 +1418,7 @@ ARFLAGS = rcs
1418
1418
PTHREAD_CFLAGS =
1419
1419
1420
1420
# For the 'sparse' target
1421
- SPARSE_FLAGS ?= -std=gnu99
1421
+ SPARSE_FLAGS ?= -std=gnu99 -D__STDC_NO_VLA__
1422
1422
SP_EXTRA_FLAGS =
1423
1423
1424
1424
# For informing GIT-BUILD-OPTIONS of the SANITIZE=leak,address targets
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ alpine-*)
31
31
;;
32
32
fedora-* |almalinux-* )
33
33
dnf -yq update > /dev/null &&
34
- dnf -yq install shadow-utils sudo make gcc findutils diffutils perl python3 gettext zlib-devel expat-devel openssl-devel curl-devel pcre2-devel > /dev/null
34
+ dnf -yq install shadow-utils sudo make gcc findutils diffutils perl python3 gawk gettext zlib-devel expat-devel openssl-devel curl-devel pcre2-devel > /dev/null
35
35
;;
36
36
ubuntu-* |i386/ubuntu-* |debian-* )
37
37
# Required so that apt doesn't wait for user input on certain packages.
@@ -119,7 +119,7 @@ StaticAnalysis)
119
119
sparse)
120
120
sudo apt-get -q update -q
121
121
sudo apt-get -q -y install libssl-dev libcurl4-openssl-dev \
122
- libexpat-dev gettext zlib1g-dev
122
+ libexpat-dev gettext zlib1g-dev sparse
123
123
;;
124
124
Documentation)
125
125
sudo apt-get -q update
You can’t perform that action at this time.
0 commit comments