Browse Source

add builds

master
Alexandros Theodotou 2 years ago
parent
commit
b128de28bc
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 28
      .builds/archlinux.yml
  2. 25
      .builds/debian10.yml
  3. 25
      .builds/debian9.yml
  4. 28
      .builds/fedora.yml
  5. 25
      .builds/freebsd.yml
  6. 25
      .builds/ubuntu-lts.yml
  7. 25
      .builds/ubuntu-next.yml
  8. 25
      .builds/ubuntu-oldlts.yml

28
.builds/archlinux.yml

@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
image: archlinux
packages:
- meson
- chromaprint
- libsndfile
- libsamplerate
- python
- ninja
- lcov
- gcovr
sources:
- https://git.sr.ht/~alextee/libaudec
- https://github.com/mesonbuild/meson
tasks:
- setup: |
cd libaudec
../meson/meson.py build -Dtests=true
- build: |
cd libaudec
ninja -C build
- test: |
cd libaudec
ninja -C build test
ninja -C build coverage-text
cat build/meson-logs/coverage.txt
- install: |
cd libaudec
DESTDIR=/tmp ninja -C build install

25
.builds/debian10.yml

@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
image: debian/buster
packages:
- libsndfile1-dev
- ninja-build
- libchromaprint-dev
- libsamplerate0-dev
- python3
sources:
- https://git.sr.ht/~alextee/libaudec
- https://github.com/mesonbuild/meson
tasks:
- setup: |
cd libaudec
../meson/meson.py build -Dtests=true
- build: |
cd libaudec
ninja -C build
- test: |
cd libaudec
ninja -C build test
ninja -C build coverage-text
cat build/meson-logs/coverage.txt
- install: |
cd libaudec
DESTDIR=/tmp ninja -C build install

25
.builds/debian9.yml

@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
image: debian/stretch
packages:
- libsndfile1-dev
- ninja-build
- libchromaprint-dev
- libsamplerate0-dev
- python3
sources:
- https://git.sr.ht/~alextee/libaudec
- https://github.com/mesonbuild/meson
tasks:
- setup: |
cd libaudec
../meson/meson.py build -Dtests=true
- build: |
cd libaudec
ninja -C build
- test: |
cd libaudec
ninja -C build test
ninja -C build coverage-text
cat build/meson-logs/coverage.txt
- install: |
cd libaudec
DESTDIR=/tmp ninja -C build install

28
.builds/fedora.yml

@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
image: fedora/latest
packages:
- gcc-c++
- gcc
- pkgconfig
- python3
- libchromaprint-devel
- libsndfile-devel
- libsamplerate-devel
- meson
sources:
- https://git.sr.ht/~alextee/libaudec
- https://github.com/mesonbuild/meson
tasks:
- setup: |
cd libaudec
../meson/meson.py build -Dtests=true
- build: |
cd libaudec
ninja -C build
- test: |
cd libaudec
ninja -C build test
ninja -C build coverage-text
cat build/meson-logs/coverage.txt
- install: |
cd libaudec
DESTDIR=/tmp ninja -C build install

25
.builds/freebsd.yml

@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
image: freebsd/latest
packages:
- meson
- ninja
- chromaprint
- python36
- pkgconf
- libsamplerate
- libsndfile
sources:
- https://git.sr.ht/~alextee/libaudec
- https://github.com/mesonbuild/meson
tasks:
- setup: |
cd libaudec
CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ../meson/meson.py build -Dtests=true
- build: |
cd libaudec
ninja -C build
- test: |
cd libaudec
ninja -C build test
- install: |
cd libaudec
DESTDIR=/tmp ninja -C build install

25
.builds/ubuntu-lts.yml

@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
image: ubuntu/lts # latest xx.04
packages:
- libsndfile1-dev
- ninja-build
- libchromaprint-dev
- libsamplerate0-dev
- python3
sources:
- https://git.sr.ht/~alextee/libaudec
- https://github.com/mesonbuild/meson
tasks:
- setup: |
cd libaudec
../meson/meson.py build -Dtests=true
- build: |
cd libaudec
ninja -C build
- test: |
cd libaudec
ninja -C build test
ninja -C build coverage-text
cat build/meson-logs/coverage.txt
- install: |
cd libaudec
DESTDIR=/tmp ninja -C build install

25
.builds/ubuntu-next.yml

@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
image: ubuntu/next # latest xx.10
packages:
- libsndfile1-dev
- ninja-build
- libchromaprint-dev
- libsamplerate0-dev
- python3
sources:
- https://git.sr.ht/~alextee/libaudec
- https://github.com/mesonbuild/meson
tasks:
- setup: |
cd libaudec
../meson/meson.py build -Dtests=true
- build: |
cd libaudec
ninja -C build
- test: |
cd libaudec
ninja -C build test
ninja -C build coverage-text
cat build/meson-logs/coverage.txt
- install: |
cd libaudec
DESTDIR=/tmp ninja -C build install

25
.builds/ubuntu-oldlts.yml

@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
image: ubuntu/oldlts # old xx.04
packages:
- libsndfile1-dev
- ninja-build
- libchromaprint-dev
- libsamplerate0-dev
- python3
sources:
- https://git.sr.ht/~alextee/libaudec
- https://github.com/mesonbuild/meson
tasks:
- setup: |
cd libaudec
../meson/meson.py build -Dtests=true
- build: |
cd libaudec
ninja -C build
- test: |
cd libaudec
ninja -C build test
ninja -C build coverage-text
cat build/meson-logs/coverage.txt
- install: |
cd libaudec
DESTDIR=/tmp ninja -C build install
Loading…
Cancel
Save