mirror of
https://gitlab.com/brendanhaines/ice40.git
synced 2024-09-19 12:26:10 -06:00
27 lines
512 B
YAML
27 lines
512 B
YAML
image: ubuntu
|
|
stages:
|
|
- unit_test
|
|
- build
|
|
|
|
|
|
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 "Building binary..."
|
|
- make
|
|
artifacts:
|
|
paths:
|
|
- build |