Skip to content

Commit

Permalink
manually install shUnit2 v2.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
zachjs committed Apr 15, 2024
1 parent bbad79c commit abc6bd3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ jobs:
- name: Install Dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew install shunit2 bison autoconf
brew install bison autoconf
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
- name: Install Dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get install -y shunit2 flex bison autoconf gperf
run: sudo apt-get install -y flex bison autoconf gperf
- name: Cache iverilog
uses: actions/cache@v4
with:
Expand All @@ -73,6 +73,9 @@ jobs:
make install
cd ..
fi
curl -L https://raw.githubusercontent.com/kward/shunit2/v2.1.8/shunit2 > ~/.local/bin/shunit2
chmod +x ~/.local/bin/shunit2
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Download Artifact
uses: actions/download-artifact@v4
with:
Expand All @@ -81,7 +84,6 @@ jobs:
- name: Test
run: |
chmod +x bin/sv2v
export PATH="$PATH:$HOME/.local/bin"
make test
release:
Expand Down

0 comments on commit abc6bd3

Please sign in to comment.