Install deps on the fly

This reverts commit 36704d5dad.
This commit is contained in:
Learath 2018-08-15 15:47:55 +03:00
parent 36704d5dad
commit 607b71860b

View file

@ -2,7 +2,7 @@ version: 2
defaults: &defaults
working_directory: ~/ddnet/ddnet
docker:
- image: learath2/ddnet-env:v1
- image: buildpack-deps:stretch
jobs:
pre_test:
@ -24,6 +24,21 @@ jobs:
#- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
- run: git submodule update --init
- run: |
apt-get update
apt-get install -y build-essential \
python3 \
libcurl4-openssl-dev \
libfreetype6-dev \
libsdl2-dev \
libglew-dev \
libogg-dev \
libopus-dev \
libpnglite-dev \
libopusfile-dev \
libwavpack-dev
apt-get install -y cmake xz-utils
# Compile
- run: python scripts/check_header_guards.py
- run: |
@ -42,6 +57,10 @@ jobs:
- attach-workspace:
at: ./
- run: |
apt-get update
apt-get install -y make cmake xz-utils
- run: |
cd build
make run_tests