mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Merge pull request #1526 from ChillerDragon/UpgradeCircle2
Upgrade to circleci version 2
This commit is contained in:
commit
6c85d5a8e7
19
.circleci/config.yml
Normal file
19
.circleci/config.yml
Normal file
|
@ -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
|
18
circle.yml
18
circle.yml
|
@ -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
|
Loading…
Reference in a new issue