Skip to content

editing makefile to reflect newly one file #5

editing makefile to reflect newly one file

editing makefile to reflect newly one file #5

Workflow file for this run

#=========================================================================
# ece2300.yml
#=========================================================================
name: ece2300
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
null
jobs:
sim:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install verilator
run: |
wget --progress=dot:giga https://github.com/cornell-ece2300/github-actions-prebuild/raw/main/github-actions-verilator-5.026.tar.gz
tar -C ${HOME} -xzf github-actions-verilator-5.026.tar.gz
echo "${HOME}/verilator/bin" >> $GITHUB_PATH
echo "PKG_CONFIG_PATH=${HOME}/verilator/share/pkgconfig:${PKG_CONFIG_PATH}" >> $GITHUB_ENV
- name: Check verilator
run: |
which verilator
verilator --version
pkg-config --modversion verilator
pkg-config --cflags verilator
- name: Install iverilog
run: |
wget --progress=dot:giga https://github.com/cornell-ece2300/github-actions-prebuild/raw/main/github-actions-iverilog-12.0.tar.gz
tar -C ${HOME} -xzf github-actions-iverilog-12.0.tar.gz
echo "${HOME}/iverilog/bin" >> $GITHUB_PATH
- name: Check iverilog
run: |
which iverilog
iverilog -V
- name: Run sim tests
timeout-minutes: 10
run: |
mkdir -p ece2300/build
cd ece2300/build
../configure
make check
! grep -q FAILED *-test.log