Merge branch 'nto-signal-stats'
[dvblast.git] / .gitlab-ci.yml
blob6b26c51237ea5d1a68d49a3fa6f8440f61e5bde6
1 stages:
2     - build
4 variables:
5     LIBEV_VERSION: "4.33"
6     LIBEV_SHA256SUM: "507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea"
8 .build-template:
9     stage: build
10     script: |
11         curl -O http://dist.schmorp.de/libev/Attic/libev-${LIBEV_VERSION}.tar.gz
12         echo "$LIBEV_SHA256SUM  libev-${LIBEV_VERSION}.tar.gz" | shasum -a 256 -c -
13         tar xf libev-${LIBEV_VERSION}.tar.gz
14         cd libev-${LIBEV_VERSION}
15         ./configure --prefix=`pwd`/../deps/
16         make -j $(getconf _NPROCESSORS_ONLN)
17         make install
18         cd ..
19         git clone https://code.videolan.org/videolan/bitstream
20         CFLAGS="-Ideps/include -I./" LDFLAGS="-Ldeps/lib" make -j $(getconf _NPROCESSORS_ONLN)
22 build-debian:
23     image: registry.videolan.org/vlc-debian-unstable:20200529132440
24     tags:
25         - debian
26         - amd64
27     extends:
28         - .build-template
30 build-macos:
31     tags:
32         - amd64
33         - catalina
34     extends:
35         - .build-template