CI: run 'make check' before 'make install'.

This makes sure 'make check' works when iverilog isn't already
installed on the system.
This commit is contained in:
Martin Whitaker 2021-01-28 00:38:45 +00:00
parent 0d9268cdbc
commit a89eab47f5
1 changed files with 2 additions and 2 deletions

View File

@ -26,12 +26,12 @@ jobs:
sudo apt update -qq sudo apt update -qq
sudo apt install -y make g++ git bison flex gperf libreadline-dev autoconf sudo apt install -y make g++ git bison flex gperf libreadline-dev autoconf
- name: Build, install and check - name: Build, check and install
run: | run: |
autoconf autoconf
./configure ./configure
sudo make install
make check make check
sudo make install
- name: Test - name: Test
run: ./.github/test.sh run: ./.github/test.sh