mirror of https://github.com/zachjs/sv2v.git
upgrade to iverilog 10.3 on Ubuntu
This commit is contained in:
parent
3d0960c58c
commit
e64e5aaf42
|
|
@ -16,22 +16,20 @@ jobs:
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.local
|
path: ~/.local
|
||||||
key: ${{ runner.OS }}-iverilog-10-2
|
key: ${{ runner.OS }}-iverilog-10-3
|
||||||
restore-keys: ${{ runner.OS }}-iverilog-10-2
|
restore-keys: ${{ runner.OS }}-iverilog-10-3
|
||||||
- name: Install iverilog
|
- name: Install iverilog
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ runner.OS }}" = "Linux" ]; then
|
if [ "${{ runner.OS }}" = "Linux" ] && [ ! -e "$HOME/.local/bin/iverilog" ]; then
|
||||||
if [ ! -e "$HOME/.local/bin/iverilog" ]; then
|
curl -L https://github.com/steveicarus/iverilog/archive/v10_3.tar.gz > iverilog-10_3.tar.gz
|
||||||
curl --retry-max-time 60 -L https://github.com/steveicarus/iverilog/archive/v10_2.tar.gz > iverilog.tar.gz
|
tar -xzf iverilog-10_3.tar.gz
|
||||||
tar -xzf iverilog.tar.gz
|
cd iverilog-10_3
|
||||||
cd iverilog-10_2
|
|
||||||
autoconf
|
autoconf
|
||||||
./configure --prefix=$HOME/.local
|
./configure --prefix=$HOME/.local
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make
|
run: make
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue