update .gitlab-ci.yml

This commit is contained in:
Brendan Haines 2022-08-21 11:56:43 -06:00
parent b2b17840a1
commit c277a57236

View File

@ -1,13 +1,27 @@
image: ubuntu
stages:
- test
- unit_test
- build
testbench: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
testbench:
stage: unit_test
script:
- echo "Installing dependencies..."
- apt update && apt install -y make iverilog
- echo "Running unit tests..."
- make tb
artifacts:
paths:
- tb/**/*.vcd
synthesis:
stage: build
script:
- echo "Installing dependencies..."
- apt update && apt install -y make iverilog yosys verilator gtkwave arachne-pnr
- echo "Running unit tests..."
- echo "Building binary..."
- make
- make sim
artifacts:
paths:
- build