Merge branch 'ci_experiment' into 'master'

Ci experiment

See merge request bslathi19/super6502!49
This commit is contained in:
Byron Lathi
2023-11-22 05:43:21 +00:00

View File

@@ -43,6 +43,9 @@ build bios:
tags:
- linux
stage: build_sw
needs:
- job: build toolchain
artifacts: true
artifacts:
paths:
- hw/efinix_fpga/init_hex.mem
@@ -50,27 +53,27 @@ build bios:
- source init_env.sh
- cd sw/
- make bios
dependencies:
- build toolchain
build kernel:
tags:
- linux
stage: build_sw
needs:
- job: build toolchain
artifacts: true
script:
- source init_env.sh
- cd sw/
- make 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
needs:
- job: build bios
artifacts: true
script:
- source init_env.sh
- cd hw/efinix_fpga
@@ -92,14 +95,20 @@ full sim:
- cd hw/efinix_fpga/simulation
- make clean
- TEST_PROGRAM=$REPO_TOP/sw/bios/bios.hex TEST_FOLDER=$REPO_TOP/sw/bios make full_sim
dependencies:
- build toolchain
needs:
- job: build bios
artifacts: true
- job: build kernel
artifacts: true
mapper sim:
tags:
- linux
- iverilog
stage: simulate
needs:
- job: build toolchain
artifacts: true
artifacts:
paths:
- hw/efinix_fpga/simulation/mapper_tb.vcd
@@ -115,6 +124,9 @@ mapper_code sim:
- linux
- iverilog
stage: simulate
needs:
- job: build toolchain
artifacts: true
artifacts:
paths:
- hw/efinix_fpga/simulation/mapper_code_tb.vcd
@@ -130,6 +142,9 @@ interrupt_controller sim:
- linux
- iverilog
stage: simulate
needs:
- job: build toolchain
artifacts: true
artifacts:
paths:
- hw/efinix_fpga/simulation/interrupt_controller.vcd
@@ -145,6 +160,9 @@ interrupt_controller_code sim:
- linux
- iverilog
stage: simulate
needs:
- job: build toolchain
artifacts: true
artifacts:
paths:
- hw/efinix_fpga/simulation/interrupt_controller_code.vcd
@@ -160,6 +178,9 @@ rtc_code sim:
- linux
- iverilog
stage: simulate
needs:
- job: build toolchain
artifacts: true
artifacts:
paths:
- hw/efinix_fpga/simulation/interrupt_controller_code.vcd
@@ -175,6 +196,9 @@ devices_setup_code sim:
- linux
- iverilog
stage: simulate
needs:
- job: build toolchain
artifacts: true
script:
- source init_env.sh
- cd hw/efinix_fpga/simulation