Resolve "Add build check to CI"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user