-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
10 changed files
with
63 additions
and
25 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 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
# Set working dir to the root of the repo | ||
cd $( dirname "${BASH_SOURCE[0]}" )/.. | ||
|
||
# Report directory | ||
ls -lha . | ||
|
||
# Report cmake version | ||
cmake --version | ||
|
||
# Report gcc version | ||
gcc --version | ||
|
||
# Report python version | ||
python --version | ||
python -c "import sys; print('Python', sys.version)" | ||
|
||
# Install | ||
export VIZDOOM_CMAKE_ARGS="-DCMAKE_PREFIX_PATH=/root/miniconda/" | ||
python -m pip install .[test] | ||
|
||
# Test import | ||
python -c "import vizdoom" | ||
|
||
# Run tests | ||
pytest tests |
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,20 @@ | ||
FROM ubuntu:latest | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=Europe/Warsaw | ||
|
||
WORKDIR vizdoom | ||
|
||
# Instal wget | ||
RUN apt-get update && apt-get install -y build-essential git make cmake wget | ||
|
||
# Install miniconda | ||
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh | ||
RUN bash ~/miniconda.sh -b -p $HOME/miniconda | ||
ENV PATH="/root/miniconda/bin:${PATH}" | ||
|
||
# Install conda dependencies | ||
RUN conda install -y -c conda-forge boost sdl2 openal-soft | ||
|
||
COPY . ./ | ||
CMD ["bash", "./scripts/build_and_test_conda.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
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