From 767742ab498d7a432fb61ef105a7688cff259338 Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Tue, 21 Nov 2023 20:14:04 -0800 Subject: [PATCH] Add init_hex.mem to artifacts for fpga build --- .gitlab-ci.yml | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e34f157..e1194ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,8 @@ variables: stages: # List of stages for jobs, and their order of execution - toolchain - - build + - build_sw + - build_hw - simulate build toolchain: @@ -38,20 +39,13 @@ build toolchain: - sw/cc65/bin - 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: tags: - linux - stage: build + stage: build_sw + artifacts: + paths: + - hw/efinix_fpga/init_hex.mem script: - source init_env.sh - cd sw/ @@ -62,7 +56,7 @@ build bios: build kernel: tags: - linux - stage: build + stage: build_sw script: - source init_env.sh - cd sw/ @@ -70,6 +64,18 @@ build kernel: dependencies: - 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: when: manual