mirror of
https://gitlab.com/brendanhaines/ice40.git
synced 2024-12-25 18:38:22 -07:00
update .gitlab-ci.yml
This commit is contained in:
parent
b2b17840a1
commit
c277a57236
|
@ -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
|
Loading…
Reference in New Issue
Block a user