Attemp #6 to fix the github action, renamed Makefile=>makefile #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Verilog Simulation | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Icarus Verilog | |
run: sudo apt-get -y install iverilog | |
- name: Build and run Verilog simulation | |
working-directory: testbench/rtl_tb # Subsequent step will back to root directory automatically | |
run: | |
make -f makefile all | |
- name: Clean up | |
working-directory: testbench/rtl_tb | |
run: | |
make -f makefile clean |