Add init_hex.mem to artifacts for fpga build

This commit is contained in:
Byron Lathi
2023-11-21 20:14:04 -08:00
parent b7b852ae4a
commit 767742ab49

View File

@@ -21,7 +21,8 @@ variables:
stages: # List of stages for jobs, and their order of execution stages: # List of stages for jobs, and their order of execution
- toolchain - toolchain
- build - build_sw
- build_hw
- simulate - simulate
build toolchain: build toolchain:
@@ -38,20 +39,13 @@ build toolchain:
- sw/cc65/bin - sw/cc65/bin
- sw/cc65/lib - sw/cc65/lib
build fpga: # This job runs in the build stage, which runs first.
tags:
- efinity
- linux
stage: build
script:
- source init_env.sh
- cd hw/efinix_fpga
- make
build bios: build bios:
tags: tags:
- linux - linux
stage: build stage: build_sw
artifacts:
paths:
- hw/efinix_fpga/init_hex.mem
script: script:
- source init_env.sh - source init_env.sh
- cd sw/ - cd sw/
@@ -62,7 +56,7 @@ build bios:
build kernel: build kernel:
tags: tags:
- linux - linux
stage: build stage: build_sw
script: script:
- source init_env.sh - source init_env.sh
- cd sw/ - cd sw/
@@ -70,6 +64,18 @@ build kernel:
dependencies: dependencies:
- build toolchain - build toolchain
build fpga: # This job runs in the build stage, which runs first.
tags:
- efinity
- linux
stage: build_hw
dependencies:
- build bios
script:
- source init_env.sh
- cd hw/efinix_fpga
- make
full sim: full sim:
when: manual when: manual