Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] added job for swig compilation on Linux with artifacts (#2125)
* added job for swig compilation on Linux with artifacts * hotfix * test: SWIG with Clang compiler * switch compiler back to gcc * switch to main docker
- Loading branch information
1 parent
8d2ec69
commit 739c263
Showing
3 changed files
with
36 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,26 @@ RUN curl -sL https://cmake.org/files/v3.14/cmake-3.14.1-Linux-x86_64.sh -o cmake | |
&& ./cmake.sh --prefix=/usr/local --exclude-subdir \ | ||
&& rm cmake.sh | ||
|
||
# Install Java | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
guolinke
Collaborator
|
||
RUN add-apt-repository ppa:openjdk-r/ppa -y \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
openjdk-8-jdk \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ | ||
|
||
# Install SWIG | ||
RUN curl -sL https://downloads.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz -o swig.tar.gz \ | ||
&& tar -xzf swig.tar.gz \ | ||
&& cd swig-3.0.12 \ | ||
&& ./configure --prefix=/usr/local --without-pcre \ | ||
&& make \ | ||
&& make install \ | ||
&& cd .. \ | ||
&& rm swig.tar.gz \ | ||
&& rm -rf swig-3.0.12 | ||
|
||
# Install Miniconda | ||
RUN curl -sL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh \ | ||
&& chmod +x miniconda.sh \ | ||
|
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
@guolinke Sorry for bothering you. Docker has been updated and is fresh now. Please re-run CI for this commit to start providing jar artifact when you have time.