mirror of
https://github.com/The-OpenROAD-Project/TritonMacroPlace.git
synced 2026-05-30 10:00:39 +08:00
add CI files
This commit is contained in:
15
Jenkinsfile
vendored
Normal file
15
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh './jenkins/build.sh'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh './jenkins/test.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
24
jenkins/Dockerfile.dev
Normal file
24
jenkins/Dockerfile.dev
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM openroad/centos6-tcl8.6 AS builder
|
||||
|
||||
# install gcc 6
|
||||
RUN yum -y install centos-release-scl && \
|
||||
yum -y install devtoolset-6 devtoolset-6-libatomic-devel
|
||||
ENV CC=/opt/rh/devtoolset-6/root/usr/bin/gcc \
|
||||
CPP=/opt/rh/devtoolset-6/root/usr/bin/cpp \
|
||||
CXX=/opt/rh/devtoolset-6/root/usr/bin/g++ \
|
||||
PATH=/opt/rh/devtoolset-6/root/usr/bin:$PATH \
|
||||
LD_LIBRARY_PATH=/opt/rh/devtoolset-6/root/usr/lib64:/opt/rh/devtoolset-6/root/usr/lib:/opt/rh/devtoolset-6/root/usr/lib64/dyninst:/opt/rh/devtoolset-6/root/usr/lib/dyninst:/opt/rh/devtoolset-6/root/usr/lib64:/opt/rh/devtoolset-6/root/usr/lib:$LD_LIBRARY_PATH
|
||||
|
||||
# install dependencies
|
||||
RUN yum install -y wget git zlib-devel tcl-devel tk-devel swig bison flex
|
||||
|
||||
RUN yum install -y wget rh-mongodb32-boost-devel rh-mongodb32-boost-static
|
||||
ENV PATH=/opt/rh/rh-mongodb32/root/usr/bin:$PATH \
|
||||
LD_LIBRARY_PATH=/opt/rh/rh-mongodb32/root/usr/lib64:/opt/rh/rh-mongodb32/root/usr/lib:/opt/rh/rh-mongodb32/root/usr/lib64/dyninst:/opt/rh/rh-mongodb32/root/usr/lib/dyninst:/opt/rh/rh-mongodb32/root/usr/lib64:/opt/rh/rh-mongodb32/root/usr/lib:$LD_LIBRARY_PATH \
|
||||
C_INCLUDE_PATH=/opt/rh/rh-mongodb32/root/usr/include \
|
||||
CPLUS_INCLUDE_PATH=/opt/rh/rh-mongodb32/root/usr/include
|
||||
|
||||
# Installing cmake for build dependency
|
||||
RUN wget https://cmake.org/files/v3.9/cmake-3.9.0-Linux-x86_64.sh && \
|
||||
chmod +x cmake-3.9.0-Linux-x86_64.sh && \
|
||||
./cmake-3.9.0-Linux-x86_64.sh --skip-license --prefix=/usr/local
|
||||
Reference in New Issue
Block a user