-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
67 changed files
with
1,552 additions
and
1,037 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,28 @@ | ||
FROM ubuntu:14.04 | ||
|
||
ENV LLVM_VERSION 3.9.1 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y software-properties-common \ | ||
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \ | ||
&& apt-get update \ | ||
&& apt-get install -y \ | ||
apt-transport-https \ | ||
build-essential \ | ||
g++-6 \ | ||
git \ | ||
libncurses5-dev \ | ||
libssl-dev \ | ||
make \ | ||
wget \ | ||
xz-utils \ | ||
zlib1g-dev \ | ||
&& wget -O - http://llvm.org/releases/${LLVM_VERSION}/clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-debian8.tar.xz \ | ||
| tar xJf - --strip-components 1 -C /usr/local/ clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-debian8 | ||
|
||
# install pcre2 | ||
RUN wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.21.tar.bz2 \ | ||
&& tar xvf pcre2-10.21.tar.bz2 \ | ||
&& cd pcre2-10.21 \ | ||
&& ./configure --prefix=/usr \ | ||
&& make install |
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,21 @@ | ||
# Build image | ||
|
||
```bash | ||
docker build -t ponylang/ponyc-ci:llvm-3.9.1 . | ||
``` | ||
|
||
# Run image to test | ||
|
||
Will get you a bash shell in the image to try cloning Pony into where you can test a build to make sure everything will work before pushing | ||
|
||
```bash | ||
docker run --name ponyc-ci-llvm-391 --rm -i -t ponylang/ponyc-ci:llvm-3.9.1 bash | ||
``` | ||
|
||
# Push to dockerhub | ||
|
||
You'll need credentials for the ponylang dockerhub account. Talk to @jemc or @seantallen for access | ||
|
||
```bash | ||
docker push ponylang/ponyc-ci:llvm-3.9.1 | ||
``` |
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,28 @@ | ||
FROM ubuntu:14.04 | ||
|
||
ENV LLVM_VERSION 4.0.1 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y software-properties-common \ | ||
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \ | ||
&& apt-get update \ | ||
&& apt-get install -y \ | ||
apt-transport-https \ | ||
build-essential \ | ||
g++-6 \ | ||
git \ | ||
libncurses5-dev \ | ||
libssl-dev \ | ||
make \ | ||
wget \ | ||
xz-utils \ | ||
zlib1g-dev \ | ||
&& wget -O - http://llvm.org/releases/${LLVM_VERSION}/clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-debian8.tar.xz \ | ||
| tar xJf - --strip-components 1 -C /usr/local/ clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-debian8 | ||
|
||
# install pcre2 | ||
RUN wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.21.tar.bz2 \ | ||
&& tar xvf pcre2-10.21.tar.bz2 \ | ||
&& cd pcre2-10.21 \ | ||
&& ./configure --prefix=/usr \ | ||
&& make install |
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,21 @@ | ||
# Build image | ||
|
||
```bash | ||
docker build -t ponylang/ponyc-ci:llvm-4.0.1 . | ||
``` | ||
|
||
# Run image to test | ||
|
||
Will get you a bash shell in the image to try cloning Pony into where you can test a build to make sure everything will work before pushing | ||
|
||
```bash | ||
docker run --name ponyc-ci-llvm-401 --rm -i -t ponylang/ponyc-ci:llvm-4.0.1 bash | ||
``` | ||
|
||
# Push to dockerhub | ||
|
||
You'll need credentials for the ponylang dockerhub account. Talk to @jemc or @seantallen for access | ||
|
||
```bash | ||
docker push ponylang/ponyc-ci:llvm-4.0.1 | ||
``` |
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 @@ | ||
FROM ubuntu:16.04 | ||
|
||
ENV LLVM_VERSION 5.0.1 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
apt-transport-https \ | ||
g++ \ | ||
git \ | ||
libncurses5-dev \ | ||
libpcre2-dev \ | ||
libssl-dev \ | ||
make \ | ||
wget \ | ||
xz-utils \ | ||
zlib1g-dev \ | ||
&& wget -O - http://llvm.org/releases/${LLVM_VERSION}/clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-ubuntu-16.04.tar.xz \ | ||
| tar xJf - --strip-components 1 -C /usr/local/ clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-ubuntu-16.04 |
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,21 @@ | ||
# Build image | ||
|
||
```bash | ||
docker build -t ponylang/ponyc-ci:llvm-5.0.1 . | ||
``` | ||
|
||
# Run image to test | ||
|
||
Will get you a bash shell in the image to try cloning Pony into where you can test a build to make sure everything will work before pushing | ||
|
||
```bash | ||
docker run --name ponyc-ci-llvm-501 --rm -i -t ponylang/ponyc-ci:llvm-5.0.1 bash | ||
``` | ||
|
||
# Push to dockerhub | ||
|
||
You'll need credentials for the ponylang dockerhub account. Talk to @jemc or @seantallen for access | ||
|
||
```bash | ||
docker push ponylang/ponyc-ci:llvm-5.0.1 | ||
``` |
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,56 @@ | ||
version: 2 | ||
jobs: | ||
verify-changelog: | ||
docker: | ||
- image: ponylang/changelog-tool:release | ||
steps: | ||
- checkout | ||
- run: changelog-tool verify CHANGELOG.md | ||
llvm-501-debug: | ||
docker: | ||
- image: ponylang/ponyc-ci:llvm-5.0.1 | ||
steps: | ||
- checkout | ||
- run: make test-ci config=debug | ||
llvm-501-release: | ||
docker: | ||
- image: ponylang/ponyc-ci:llvm-5.0.1 | ||
steps: | ||
- checkout | ||
- run: make test-ci config=release | ||
llvm-401-debug: | ||
docker: | ||
- image: ponylang/ponyc-ci:llvm-4.0.1 | ||
steps: | ||
- checkout | ||
- run: make test-ci config=debug | ||
llvm-401-release: | ||
docker: | ||
- image: ponylang/ponyc-ci:llvm-4.0.1 | ||
steps: | ||
- checkout | ||
- run: make test-ci config=release | ||
llvm-391-debug: | ||
docker: | ||
- image: ponylang/ponyc-ci:llvm-3.9.1 | ||
steps: | ||
- checkout | ||
- run: make test-ci config=debug | ||
llvm-391-release: | ||
docker: | ||
- image: ponylang/ponyc-ci:llvm-3.9.1 | ||
steps: | ||
- checkout | ||
- run: make test-ci config=release | ||
|
||
workflows: | ||
version: 2 | ||
llvms: | ||
jobs: | ||
- verify-changelog | ||
- llvm-501-debug | ||
- llvm-501-release | ||
- llvm-401-debug | ||
- llvm-401-release | ||
- llvm-391-debug | ||
- llvm-391-release |
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
Oops, something went wrong.