ice40/.gitlab-ci.yml

32 lines
567 B
YAML

image: ubuntu
stages:
- unit_test
- build
testbench:
stage: unit_test
script:
- echo "Installing dependencies..."
- apt update && apt install -y make iverilog
- make -v
- iverilog -V
- echo "Running unit tests..."
- make tb
artifacts:
paths:
- tb/**/*.vcd
synthesis:
stage: build
script:
- echo "Installing dependencies..."
- apt update && apt install -y make yosys arachne-pnr
- make -v
- yosys -V
- arachne-pnr -v
- echo "Building binary..."
- make
artifacts:
paths:
- build