Skip to content

Commit 5c8b0e6

Browse files
author
pyfirstcsh
committed
change gcc version
1 parent 8ef89cf commit 5c8b0e6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
env:
11-
verilator-version: v5.020
11+
verilator-version: v4.202
1212
verilator-install-dir: verilator-install
1313

1414
jobs:
@@ -29,7 +29,8 @@ jobs:
2929
apps: sbt
3030
- name: Setup Dependencies
3131
run: |
32-
sudo apt-get install ccache
32+
sudo apt-get install ccache g++-11 # 安装 GCC 11
33+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 11
3334
- name: Get Cached Verilator
3435
id: get-cached-verilator
3536
uses: actions/cache@v4

0 commit comments

Comments
 (0)