-
Notifications
You must be signed in to change notification settings - Fork 26
/
.gitlab-ci.yml
35 lines (31 loc) · 984 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
stages:
- build
variables:
LIBEV_VERSION: "4.33"
LIBEV_SHA256SUM: "507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea"
.build-template:
stage: build
script: |
curl -O http://dist.schmorp.de/libev/Attic/libev-${LIBEV_VERSION}.tar.gz
echo "$LIBEV_SHA256SUM libev-${LIBEV_VERSION}.tar.gz" | shasum -a 256 -c -
tar xf libev-${LIBEV_VERSION}.tar.gz
cd libev-${LIBEV_VERSION}
./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-debian:
image: registry.videolan.org/vlc-debian-unstable:20200529132440
tags:
- debian
- amd64
extends:
- .build-template
build-macos:
tags:
- amd64
- catalina
extends:
- .build-template