Files
super6502/.gitlab-ci.yml
Byron Lathi 04346ed625 Update .gitlab-ci.yml file
Add bootloader.hex as an artifact for the FPGA build
2022-04-19 20:05:53 +00:00

67 lines
1.4 KiB
YAML

default:
tags:
- docker
build-kernel:
stage: build
image: a2geek/cc65-pipeline
script:
- cd sw/kernel
- make
artifacts:
paths:
- sw/bootloader/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"