Rename verilog-compiler.vhdl to verilog-compiler.yml #3
Workflow file for this run
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: "Verilog Build and Analysis" | |
on: | |
[pull_request] | |
jobs: | |
build-and-analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Verilog Compiler | |
uses: jge162/[email protected] | |
- run: | | |
echo "Install required dependencies" | |
sudo apt-get update | |
sudo apt-get install iverilog | |
sudo apt-get install verilator | |
- run: | | |
echo "Set executable permission on script file" | |
chmod --recursive +x /* | |
- run: | | |
echo "Run, Build Application using script" | |
VERILOG_FILES=find . -type f -name "*.v" -print0 | xargs -0 echo -n | |
iverilog -o test_project $VERILOG_FILES |