diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 89e8670..c6b0cb2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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: @@ -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: @@ -81,7 +84,6 @@ jobs: - name: Test run: | chmod +x bin/sv2v - export PATH="$PATH:$HOME/.local/bin" make test release: