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