Resolve "Add build check to CI"

This commit is contained in:
Byron Lathi
2023-09-29 05:14:52 +00:00
parent 624d662669
commit 62967aa88d
3 changed files with 23 additions and 4 deletions

View File

@@ -16,14 +16,31 @@
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages: # List of stages for jobs, and their order of execution
- build
build-job: # This job runs in the build stage, which runs first.
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-sim:
tags:
- iverilog
- linux
stage: build
script:
- source init_env.sh
- cd sw/cc65
- make -j
- cd ../..
- cd hw/efinix_fpga/simulation
- make