Skip to content

Commit

Permalink
CI: Added debian and macos build jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
thresheek committed Nov 30, 2018
1 parent 33b85b4 commit 6a4b9c1
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .gitlab-ci.yml
@@ -0,0 +1,34 @@
stages:
- build

build-debian:
image: registry.videolan.org:5000/vlc-debian-unstable:20181128113529
stage: build
tags:
- debian
- amd64
script:
- wget http://dist.schmorp.de/libev/Attic/libev-4.24.tar.gz
- tar xf libev-4.24.tar.gz
- cd libev-4.24
- ./configure --prefix=`pwd`/../deps/
- make -j $(getconf _NPROCESSORS_ONLN)
- make install
- cd ..
- git clone https://code.videolan.org/videolan/bitstream
- CFLAGS="-Ideps/include -I./" LDFLAGS="-Ldeps/lib" make -j $(getconf _NPROCESSORS_ONLN)

build-macos:
stage: build
tags:
- macos
script:
- curl -sS -O http://dist.schmorp.de/libev/Attic/libev-4.24.tar.gz
- tar xf libev-4.24.tar.gz
- cd libev-4.24
- ./configure --prefix=`pwd`/../deps/
- make -j $(getconf _NPROCESSORS_ONLN)
- make install
- cd ..
- git clone https://code.videolan.org/videolan/bitstream
- CFLAGS="-Ideps/include -I./" LDFLAGS="-Ldeps/lib" make -j $(getconf _NPROCESSORS_ONLN)

0 comments on commit 6a4b9c1

Please sign in to comment.