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
4 changed files
with
45 additions
and
2 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,35 @@ | ||
FROM ubuntu:18.04 | ||
|
||
# Setup basic environment | ||
RUN apt-get update | ||
RUN apt-get install -y software-properties-common | ||
|
||
# Install git | ||
RUN apt-get install -y git | ||
RUN git --version | ||
|
||
# Install python | ||
RUN apt-get update | ||
RUN apt-get install -y python3 python3-dev python3-pip | ||
RUN pip3 install pytest | ||
RUN rm -rf /var/lib/apt/lists/* | ||
|
||
ENV PYTHONIOENCODING utf-8 | ||
|
||
# Install misc | ||
RUN apt-get update | ||
RUN apt-get install -y sudo vim wget curl | ||
|
||
# Install spot. Run this here so that if we make changes to the stuff below, we don't have to rebuild spot | ||
RUN curl -sSL https://raw.githubusercontent.com/ReedOei/Pecan/master/install-spot.sh | bash | ||
|
||
WORKDIR /home/pecan | ||
|
||
RUN git clone "https://github.com/ReedOei/Pecan" "ReedOei/Pecan" | ||
|
||
WORKDIR /home/pecan/ReedOei/Pecan | ||
|
||
RUN git pull | ||
RUN pip3 install -r requirements.txt | ||
RUN pytest --verbose test | ||
|
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,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
echo "$(git rev-parse HEAD)" | ||
date | ||
|
||
docker build -t "pecan-prover:latest" - < "./Dockerfile" | ||
|
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