Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
67 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
FROM ubuntu:xenial | ||
|
||
MAINTAINER srz_zumix <zumix.cpp@gmail.com> | ||
|
||
RUN apt-get update -q -y && \ | ||
apt-get install -y software-properties-common | ||
RUN apt-get update -q -y && \ | ||
apt-get install -y wget vim iputils-ping sudo curl && \ | ||
apt-get install -y libsqlite3-dev libssl-dev && \ | ||
apt-get install -y python2.7 python2.7-dev python-virtualenv && \ | ||
apt-get install -y git subversion && \ | ||
apt-get install -y build-essential | ||
|
||
# pyenv | ||
ENV PYENV_ROOT $HOME/.pyenv | ||
ENV PATH $HOME/.pyenv/shims:$HOME/.pyenv/bin:$PATH | ||
RUN curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash | ||
RUN pyenv --version | ||
RUN pyenv install 2.7.13 | ||
RUN pyenv install 3.5.2 | ||
RUN pyenv install 3.6.0 | ||
RUN pyenv local 2.7.13 && \ | ||
pip install --upgrade setuptools pip tox requests && \ | ||
pyenv local --unset | ||
RUN pyenv local 3.5.2 && \ | ||
pip install --upgrade setuptools pip tox requests && \ | ||
pyenv local --unset | ||
RUN pyenv local 3.6.0 && \ | ||
pip install --upgrade setuptools pip tox requests && \ | ||
pyenv local --unset | ||
RUN pyenv local 2.7.13 3.5.2 3.6.0 | ||
|
||
RUN pip install virtualenv | ||
|
||
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - && \ | ||
apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main" && \ | ||
apt-get update && \ | ||
apt-get install -y clang-6.0 | ||
RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-6.0 1000 && \ | ||
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 1000 && \ | ||
update-alternatives --config clang && \ | ||
update-alternatives --config clang++ | ||
|
||
RUN mkdir /iutest | ||
VOLUME [ "/iutest" ] | ||
WORKDIR /iutest | ||
|
||
ADD entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh -l | ||
|
||
sh -c "echo $*" | ||
|
||
ls |
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,12 @@ | ||
workflow "New workflow" { | ||
on = "push" | ||
resolves = ["Hello World"] | ||
} | ||
|
||
action "Hello World" { | ||
uses = "./actions/run-test" | ||
env = { | ||
MY_NAME = "srz_zumix" | ||
} | ||
args = "\"Hello world, I'm $MY_NAME!\"" | ||
} |