Skip to content

Commit

Permalink
Merge pull request #6536 from chipsalliance/fix-verilator-url
Browse files Browse the repository at this point in the history
Force cloning verilator from github
  • Loading branch information
tgorochowik authored Dec 3, 2024
2 parents be7a272 + d4fb755 commit 3541f91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/sv-tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ jobs:
# Github dropped support for unauthorized git: https://github.blog/2021-09-01-improving-git-protocol-security-github/
# Make sure we always use https:// instead of git://
git config --global url.https://github.com/.insteadOf git://github.com/
# take verilator from github (some tested tools still use a submodule
# from veripool)
git config --global url."https://github.com/verilator/verilator".insteadOf http://git.veripool.org/git/verilator
REPOSITORY_NAME=${{ matrix.tool.name }}
if [[ ! -z "${{ matrix.tool.repo }}" ]]; then
REPOSITORY_NAME=${{ matrix.tool.repo }}
Expand Down Expand Up @@ -222,6 +225,8 @@ jobs:
for file in $(find out/ -name *.tar -print); do tar -xf $file --strip-components=2 -C $(dirname $file); done
- name: Checkout third party tests and cores
run: |
# take verilator from github
git config --global url."https://github.com/verilator/verilator".insteadOf http://git.veripool.org/git/verilator
git submodule update --init --recursive third_party/tests
git submodule update --init --recursive third_party/cores
# yosys tool also contains tests
Expand Down

0 comments on commit 3541f91

Please sign in to comment.