mirror of
https://gitlab.com/brendanhaines/ice40.git
synced 2024-12-26 02:48:26 -07:00
update .gitlab-ci.yml
This commit is contained in:
parent
b2b17840a1
commit
c277a57236
|
@ -1,13 +1,27 @@
|
||||||
image: ubuntu
|
image: ubuntu
|
||||||
stages:
|
stages:
|
||||||
- test
|
- unit_test
|
||||||
|
- build
|
||||||
|
|
||||||
|
|
||||||
testbench: # This job runs in the test stage.
|
testbench:
|
||||||
stage: test # It only starts when the job in the build stage completes successfully.
|
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:
|
script:
|
||||||
- echo "Installing dependencies..."
|
- echo "Installing dependencies..."
|
||||||
- apt update && apt install -y make iverilog yosys verilator gtkwave arachne-pnr
|
- apt update && apt install -y make iverilog yosys verilator gtkwave arachne-pnr
|
||||||
- echo "Running unit tests..."
|
- echo "Building binary..."
|
||||||
- make
|
- make
|
||||||
- make sim
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- build
|
Loading…
Reference in New Issue
Block a user