diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..a4db906aa --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,19 @@ +version: 2 +jobs: + build: + docker: + - image: buildpack-deps:stretch + steps: + - checkout + - run: + name: Build bam + command: | + apt-get update -y + apt-get install libsdl2-dev libfreetype6-dev -y + git clone https://github.com/matricks/bam.git ~/bam + cd ~/bam/ + git reset --hard f012dd9a3e38295b8a45af5a101d29573381f169 + ./make_unix.sh + - run: + name: Build teeworlds + command: ~/bam/bam conf=release all \ No newline at end of file diff --git a/circle.yml b/circle.yml deleted file mode 100644 index c16cd2410..000000000 --- a/circle.yml +++ /dev/null @@ -1,18 +0,0 @@ -dependencies: - pre: - - | - sudo apt-get install libsdl2-dev libfreetype6-dev - - if [ ! -d ~/bam ]; then - git clone https://github.com/matricks/bam.git ~/bam - cd ~/bam/ - git reset --hard f012dd9a3e38295b8a45af5a101d29573381f169 - ./make_unix.sh - fi - - cache_directories: - - "~/bam/" - -test: - override: - - ~/bam/bam conf=release all