mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 16:28:53 +02:00
CI: Add timeout to apt install steps (#8154)
These tend to hang for hours on occasion. Install all apt dependencies via ci-install.bash, and add a hard timeout and retry for each attempt. Also removed unnecessary man-db config (GitHub has this off by default now) and ineffective install path exclusions.
This commit is contained in:
@@ -104,13 +104,6 @@ jobs:
|
||||
if: ${{ contains(needs.*.result, 'success') && !cancelled() }}
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null
|
||||
sudo dpkg-reconfigure man-db
|
||||
sudo apt install lcov || \
|
||||
sudo apt install lcov
|
||||
|
||||
- name: Download repository archive
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
|
||||
with:
|
||||
@@ -122,6 +115,10 @@ jobs:
|
||||
tar --zstd -x -f ${{ needs.build.outputs.archive }}
|
||||
ls -lsha
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: repo
|
||||
run: ./ci/ci-install.bash coverage
|
||||
|
||||
- name: Download code coverage data
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user