Skip to content
Snippets Groups Projects
Commit 6db93183 authored by Dinyar Rabady's avatar Dinyar Rabady
Browse files

Build scdaq RPM in CI

parent c39e84a3
No related branches found
No related tags found
2 merge requests!59CMSSW json file,!1Build scdaq RPM in CI
Pipeline #4067746 passed
image: gitlab-registry.cern.ch/scouting-demonstrator/scouting-docker-images/scdaq-builder:1.0.0
build_rpm_tag:
stage: build
only:
- tags
script:
- bash scripts/scdaqrpm.sh
- mv /tmp/scdaq-build-tmp/RPMBUILD/RPMS/x86_64/scdaq* .
artifacts:
name: "scdaq-${CI_JOB_NAME}_${CI_COMMIT_TAG}"
paths:
- "*.rpm"
expire_in: 1 year
build_rpm_dev:
stage: build
except:
- tags
script:
- bash scripts/scdaqrpm.sh
- mv /tmp/scdaq-build-tmp/RPMBUILD/RPMS/x86_64/scdaq* .
- for f in *.rpm; do mv -- "$f" "${f%.rpm}-dev.rpm"; done # Add -dev extension to RPMs built from non-tags.
artifacts:
name: "scdaq-${CI_JOB_NAME}_`echo $CI_COMMIT_REF_NAME | sed 's|/|-|g'`"
paths:
- "*.rpm"
expire_in: 1 week
...@@ -27,7 +27,7 @@ CXXFLAGS = -std=c++11 -Wall -Wextra -O0 -g -rdynamic ...@@ -27,7 +27,7 @@ CXXFLAGS = -std=c++11 -Wall -Wextra -O0 -g -rdynamic
#CXXFLAGS = -std=c++11 -Wall -Wextra -g -rdynamic #CXXFLAGS = -std=c++11 -Wall -Wextra -g -rdynamic
CFLAGS = $(CXXFLAGS) CFLAGS = $(CXXFLAGS)
LDFLAGS = -ltbb -ltbbmalloc -lboost_thread -lcurl LDFLAGS = -ltbb -ltbbmalloc -lboost_thread -lcurl -pthread
CPPFLAGS = -I. -Iwzdma CPPFLAGS = -I. -Iwzdma
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment