-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from X-DataInitiative/TICK-389-fix-release-scheme
TICK-389 fix release scheme
- Loading branch information
Showing
9 changed files
with
33 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# License: BSD 3 clause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ | |
|
||
// License: BSD 3 clause | ||
|
||
#include "defs.h" | ||
|
||
#include <memory> | ||
|
||
#include <cfloat> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e -x | ||
|
||
python_versions=(cp34-cp34m cp35-cp35m cp36-cp36m) | ||
|
||
for PYVER in ${python_versions[@]}; do | ||
PYBIN=/opt/python/${PYVER}/bin | ||
|
||
cd /io | ||
|
||
"${PYBIN}/python3" -mpip install -r requirements.txt | ||
"${PYBIN}/python3" setup.py bdist_wheel --dist-dir=/tick/wheelhouse | ||
done | ||
|
||
for whl in /tick/wheelhouse/*.whl; do | ||
auditwheel repair "$whl" -w /io/wheelhouse/ | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,32 +5,19 @@ RUN yum update -y && yum install -y zlib-devel bzip2 bzip2-devel readline-devel | |
|
||
ENV PATH="/root/.pyenv/bin:$PATH" SWIG_VER=3.0.12 | ||
|
||
# Installing pyenv | ||
RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash | ||
|
||
# Installing swig | ||
RUN curl -O https://kent.dl.sourceforge.net/project/swig/swig/swig-${SWIG_VER}/swig-${SWIG_VER}.tar.gz && tar -xf swig-${SWIG_VER}.tar.gz && \ | ||
cd swig-${SWIG_VER} && ./configure && make && make install && \ | ||
cd swig-${SWIG_VER} && ./configure && make -j4 && make install && \ | ||
rm -rf swig-${SWIG_VER}.tar.gz swig-${SWIG_VER} | ||
|
||
# Installing cmake | ||
RUN curl -O https://cmake.org/files/v3.8/cmake-3.8.0.tar.gz && tar -xf cmake-3.8.0.tar.gz && \ | ||
(cd cmake-3.8.0 && ./configure && gmake && gmake install) && \ | ||
(cd cmake-3.8.0 && ./configure && gmake -j4 && gmake install) && \ | ||
rm -rf cmake-3.8.0.tar.gz cmake-3.8.0 | ||
|
||
# Installing googletest | ||
RUN git clone https://github.com/google/googletest.git && \ | ||
(cd googletest && mkdir -p build && cd build && cmake .. && make && make install) && \ | ||
(cd googletest && mkdir -p build && cd build && cmake .. && make -j4 && make install) && \ | ||
rm -rf googletest | ||
|
||
# Installing necessary python versions | ||
RUN pyenv install 3.4.6 && pyenv install 3.5.3 && pyenv install 3.6.1 | ||
|
||
COPY requirements.txt requirements.txt | ||
|
||
RUN eval "$(pyenv init -)" && \ | ||
pyenv local 3.4.6 && pip install -r requirements.txt -U pip && \ | ||
pyenv local 3.5.3 && pip install -r requirements.txt -U pip && \ | ||
pyenv local 3.6.1 && pip install -r requirements.txt -U pip | ||
|
||
LABEL maintainer "[email protected]" |
This file was deleted.
Oops, something went wrong.