75 lines
1.5 KiB
YAML
75 lines
1.5 KiB
YAML
default:
|
|
tags:
|
|
- docker
|
|
|
|
build-kernel:
|
|
stage: build
|
|
image: a2geek/cc65-pipeline
|
|
script:
|
|
- cd sw/kernel
|
|
- make
|
|
|
|
build-bootloader:
|
|
stage: build
|
|
image: a2geek/cc65-pipeline
|
|
script:
|
|
- cd sw/bootloader
|
|
- make
|
|
artifacts:
|
|
paths:
|
|
- bootloader.hex
|
|
|
|
|
|
|
|
build-fpga:
|
|
stage: build
|
|
dependencies:
|
|
- build-kernel
|
|
image: bslathi19/modelsim_18.1:lite
|
|
script:
|
|
- cd hw/fpga/
|
|
- qsys-generate /builds/bslathi19/super6502/hw/fpga/sdram_platform.qsys --synthesis=VERILOG --output-directory=/builds/bslathi19/super6502/hw/fpga/sdram_platform --family="MAX 10" --part=10M50DAF484C7G
|
|
- quartus_map super6502 -c super6502
|
|
|
|
test_addr_decode:
|
|
stage: test
|
|
image: bslathi19/modelsim_18.1:lite
|
|
script:
|
|
- cd hw/fpga/simulation/modelsim/
|
|
- vsim -do "do cs_testbench.do"
|
|
|
|
test_bb_spi:
|
|
stage: test
|
|
image: bslathi19/modelsim_18.1:lite
|
|
script:
|
|
- cd hw/fpga/simulation/modelsim/
|
|
- vsim -do "do bb_spi_testbench.do"
|
|
|
|
test-sw:
|
|
stage: test
|
|
image: a2geek/cc65-pipeline
|
|
script:
|
|
- cd sw/kernel
|
|
- make test
|
|
|
|
test_mm:
|
|
stage: test
|
|
image: bslathi19/modelsim_18.1:lite
|
|
script:
|
|
- cd hw/fpga/simulation/modelsim/
|
|
- vsim -do "do mm_testbench.do"
|
|
|
|
test_crc7:
|
|
stage: test
|
|
image: bslathi19/modelsim_18.1:lite
|
|
script:
|
|
- cd hw/fpga/simulation/modelsim/
|
|
- vsim -do "do crc7_testbench.do"
|
|
|
|
test_sd_cmd:
|
|
stage: test
|
|
image: bslathi19/modelsim_18.1:lite
|
|
script:
|
|
- cd hw/fpga/simulation/modelsim/
|
|
- vsim -do "sd_cmd_testbench.do"
|