Commit fe89e031 authored by Dimitris Lampridis's avatar Dimitris Lampridis

Merge branch '27-migrate-to-common-ci-and-publish-bitstreams' into 'master'

Resolve "Migrate to common CI and publish bitstreams"

Closes #27

See merge request be-cem-edl/fec/hardware-modules/fmc-adc-100m14b4cha!11
parents b9e80f30 0070c2e0
......@@ -4,6 +4,8 @@
variables:
GIT_SUBMODULE_STRATEGY: normal
EDL_CI_DOC_SRC_PATH: 'doc'
EDL_CI_DOC_DST_PATH: '$EDL_CI_EOS_OUTPUT_DIR/doc'
include:
- project: 'be-cem-edl/evergreen/gitlab-ci'
......@@ -26,18 +28,6 @@ flawfinder:
script:
- make -C software/tools flawfinder
documentation:
stage: build
image:
name: gitlab-registry.cern.ch/coht/common-containers/documentation:latest
script:
- make -C doc html
- mkdir -p $EDL_CI_EOS_OUTPUT_DIR
- cp -a doc/_build/html/* $EDL_CI_EOS_OUTPUT_DIR
artifacts:
paths:
- $EDL_CI_EOS_OUTPUT_DIR
.script_fetch_kernel_dep: &script_fetch_kernel_dep
- git clone --depth 1 https://gitlab.cern.ch/cohtdrivers/coht.git ~/git/coht
- export VMEBUS=~/git/coht/vmebridge-ng
......
......@@ -2,6 +2,9 @@
#
# SPDX-License-Identifier: LGPL-2.1-or-later
variables:
_FMC_ADC_BITSTREAM_DEST: $CI_PROJECT_DIR/$EDL_CI_EOS_OUTPUT_DIR/bitstreams
.syn_template: &syn_template
interruptible: true
stage: build
......@@ -20,14 +23,13 @@
echo -e "\e[31mTiming errors detected in PAR report. Aborting...\e[0m"
exit 1
fi
- tar -cJf $SYN_NAME.tar.xz *.syr *.par *.twr *.bit *.bin
- mkdir -p $_FMC_ADC_BITSTREAM_DEST
- cp $SYN_NAME.tar.xz $_FMC_ADC_BITSTREAM_DEST
artifacts:
name: "$SYN_NAME-synthesis-$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
paths:
- hdl/syn/$SYN_NAME/*.syr
- hdl/syn/$SYN_NAME/*.par
- hdl/syn/$SYN_NAME/*.twr
- hdl/syn/$SYN_NAME/*.bit
- hdl/syn/$SYN_NAME/*.bin
- $_FMC_ADC_BITSTREAM_DEST/*
SPEC45T synthesis:
variables:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment