@@ -19,10 +19,17 @@ jobs:
1919 # user input
2020 DEBIAN_FRONTEND : noninteractive
2121 run : |
22- sudo apt-get update
23- sudo apt-get install --no-install-recommends -yq gcc gdb g++ jq flex bison libxml2-utils ccache cmake z3
22+ sudo apt-get remove --purge man-db
23+ packages_to_install="ccache z3"
24+ if ! sudo apt-get install --no-install-recommends -yq $packages_to_install ; then
25+ # retry after updating package indices
26+ sudo apt-get update
27+ sudo apt-get install --no-install-recommends -yq $packages_to_install
28+ fi
2429 - name : Confirm z3 solver is available and log the version installed
2530 run : z3 --version
31+ - name : Log the version of gcc
32+ run : gcc --version
2633 - name : Prepare ccache
2734 uses : actions/cache@v4
2835 with :
7784 # user input
7885 DEBIAN_FRONTEND : noninteractive
7986 run : |
80- sudo apt-get update
81- sudo apt-get install --no-install-recommends -yq clang-19 clang++-19 gdb jq flex bison libxml2-utils cpanminus ccache z3
87+ sudo apt-get remove --purge man-db
88+ packages_to_install="clang-19 clang++-19 gdb jq flex bison libxml2-utils cpanminus ccache z3"
89+ if ! sudo apt-get install --no-install-recommends -yq $packages_to_install ; then
90+ # retry after updating package indices
91+ sudo apt-get update
92+ sudo apt-get install --no-install-recommends -yq $packages_to_install
93+ fi
8294 cpanm Thread::Pool::Simple
8395 - name : Confirm z3 solver is available and log the version installed
8496 run : z3 --version
@@ -152,8 +164,13 @@ jobs:
152164 # user input
153165 DEBIAN_FRONTEND : noninteractive
154166 run : |
155- sudo apt-get update
156- sudo apt-get install --no-install-recommends z3
167+ sudo apt-get remove --purge man-db
168+ packages_to_install="z3"
169+ if ! sudo apt-get install --no-install-recommends -yq $packages_to_install ; then
170+ # retry after updating package indices
171+ sudo apt-get update
172+ sudo apt-get install --no-install-recommends -yq $packages_to_install
173+ fi
157174 - name : Confirm z3 solver is available and log the version installed
158175 run : z3 --version
159176 - name : Get the ebmc binary
@@ -340,8 +357,13 @@ jobs:
340357 # user input
341358 DEBIAN_FRONTEND : noninteractive
342359 run : |
343- sudo apt-get update
344- sudo apt-get install --no-install-recommends -yq emscripten flex bison libxml2-utils cpanminus ccache
360+ sudo apt-get remove --purge man-db
361+ packages_to_install="emscripten flex bison libxml2-utils cpanminus ccache"
362+ if ! sudo apt-get install --no-install-recommends -yq $packages_to_install ; then
363+ # retry after updating package indices
364+ sudo apt-get update
365+ sudo apt-get install --no-install-recommends -yq $packages_to_install
366+ fi
345367 - name : Install node.js 23
346368 uses : actions/setup-node@v6
347369 with :
@@ -478,8 +500,13 @@ jobs:
478500 # user input
479501 DEBIAN_FRONTEND : noninteractive
480502 run : |
481- sudo apt-get update
482- sudo apt-get install --no-install-recommends -yq z3
503+ sudo apt-get remove --purge man-db
504+ packages_to_install="z3"
505+ if ! sudo apt-get install --no-install-recommends -yq $packages_to_install ; then
506+ # retry after updating package indices
507+ sudo apt-get update
508+ sudo apt-get install --no-install-recommends -yq $packages_to_install
509+ fi
483510 - name : Confirm z3 solver is available and log the version installed
484511 run : z3 --version
485512 - name : Get the ebmc binary
0 commit comments