Commit 547956fb authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

Merge branch 'master' into devel

parents 6eee8a92 01201e5d
stages:
- build
- push
docker build:
docker build_devel:
stage: build
only:
- devel
script:
- docker info
- cd docker/base/plugin-ci && docker build -t xacc/base-plugin-ci . --no-cache
- cd docker/ci/ubuntu1804/devel && docker build -t xacc/devel-ci . --no-cache
docker push:
stage: push
docker build_master:
stage: build
only:
- master
script:
- echo "$REGISTRY_PASSWORD" | docker login -u xacc --password-stdin
- docker push xacc/base-plugin-ci
- docker system prune
- docker rmi -f xacc/base-plugin-ci
- cd docker/ci/ubuntu1804/master && docker build -t xacc/master-ci . --no-cache
[![Build Status](https://jenkins.eclipse.org/xacc/buildStatus/icon?job=xacc-ci)](https://jenkins.eclipse.org/xacc/job/xacc-ci/)
[![pipeline status](https://code.ornl.gov/qci/xacc/badges/master/pipeline.svg)](https://code.ornl.gov/qci/xacc/commits/master)
![alt text](https://raw.githubusercontent.com/eclipse/xacc/master/docs/assets/xacc-readme.jpg)
......
from ubuntu:18.04
run apt-get -y update && apt-get install -y gcc g++ git wget \
libcurl4-openssl-dev libssl-dev python3 libunwind-dev \
libpython3-dev python3-pip libblas-dev liblapack-dev software-properties-common \
&& python3 -m pip install ipopo cmake \
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
&& echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" > /etc/apt/sources.list.d/llvm.list \
&& apt-get update -y && apt-get install -y libclang-9-dev llvm-9-dev \
&& ln -s /usr/bin/llvm-config-9 /usr/bin/llvm-config \
&& rm -rf /var/lib/apt/lists/*
from xacc/ubuntu:18.04
run git clone --recursive -b devel https://github.com/eclipse/xacc && cd xacc && mkdir build && cd build \
&& cmake .. -DPYTHON_INCLUDE_DIR=/usr/include/python3.6m -DXACC_BUILD_TESTS=TRUE \
&& make -j$(nproc) install && ctest --output-on-failure
from xacc/ubuntu:18.04
run git clone --recursive https://github.com/eclipse/xacc && cd xacc && mkdir build && cd build \
&& cmake .. -DPYTHON_INCLUDE_DIR=/usr/include/python3.6m -DXACC_BUILD_TESTS=TRUE \
&& make -j$(nproc) install && ctest --output-on-failure
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