Commit 6f46358d authored by Mccaskey, Alex's avatar Mccaskey, Alex

moving ci to non-cuda build

Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 15d5b3f9
Pipeline #83700 passed with stage
in 4 minutes and 15 seconds
......@@ -6,11 +6,11 @@ build_devel:
only:
- devel
script:
- cd docker/ci/ubuntu1804/devel && nvidia-docker build -t exatn/devel . --no-cache && nvidia-docker run --rm exatn/devel bash -c "cd exatn/build && ctest --output-on-failure"
- cd docker/ci/ubuntu1804/nocuda/devel && docker build -t exatn/devel . --no-cache && docker run --rm exatn/devel bash -c "cd exatn/build && ctest --output-on-failure"
build_master:
stage: build
only:
- master
script:
- cd docker/ci/ubuntu1804/master && nvidia-docker build -t exatn/master . --no-cache && nvidia-docker run --rm exatn/master bash -c "cd exatn/build && ctest --output-on-failure"
- cd docker/ci/ubuntu1804/nocuda/master && docker build -t exatn/master . --no-cache && docker run --rm exatn/master bash -c "cd exatn/build && ctest --output-on-failure"
from ubuntu:18.04
run apt-get -y update && apt-get install -y gcc-8 g++-8 gfortran-8 git wget \
python3 libunwind-dev libmpich-dev \
libpython3-dev python3-pip libblas-dev liblapack-dev software-properties-common \
&& python3 -m pip install cmake \
&& rm -rf /var/lib/apt/lists/*
from code.ornl.gov:4567/qci/exatn/base_ubuntu:18.04
run update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 50 \
&& update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-8 50 \
&& gcc --version && g++ --version && gfortran --version \
&& git clone --recursive https://github.com/ornl-qci/exatn \
&& cd exatn && git pull && git status && mkdir build && cd build \
&& cmake .. -DPYTHON_INCLUDE_DIR=/usr/include/python3.6m \
-DEXATN_BUILD_TESTS=TRUE -DBLAS_LIB=ATLAS \
-DBLAS_PATH=/usr/lib/x86_64-linux-gnu \
-DMPI_LIB=MPICH -DMPI_ROOT_DIR=/usr/lib/mpich \
-DMPI_BIN_PATH=/usr/bin \
&& make -j$(nproc) install
from code.ornl.gov:4567/qci/exatn/base_ubuntu:18.04
run update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 50 \
&& update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-8 50 \
&& gcc --version && g++ --version && gfortran --version \
&& git clone --recursive -b master https://github.com/ornl-qci/exatn \
&& cd exatn && git pull && git status && mkdir build && cd build \
&& cmake .. -DPYTHON_INCLUDE_DIR=/usr/include/python3.6m \
-DEXATN_BUILD_TESTS=TRUE -DBLAS_LIB=ATLAS \
-DBLAS_PATH=/usr/lib/x86_64-linux-gnu \
-DMPI_LIB=MPICH -DMPI_ROOT_DIR=/usr/lib/mpich \
-DMPI_BIN_PATH=/usr/bin \
&& make -j$(nproc) install
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