-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (38 loc) · 1.53 KB
/
linux.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
36
37
38
39
40
41
42
name: Linux CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: install-packages
run: |
sudo apt-get update
sudo apt-get install build-essential libbz2-dev libfftw3-dev libfishsound1-dev libid3tag0-dev liblo-dev liblrdf0-dev libmad0-dev liboggz2-dev libopus-dev libopusfile-dev libpulse-dev libsamplerate-dev libsndfile-dev libsord-dev libxml2-utils portaudio19-dev qt6-base-dev qt6-pdf-dev qt6-base-dev-tools libqt6svg6-dev raptor2-utils git mercurial autoconf automake libtool smlnj capnproto libcapnp-dev ninja-build libglib2.0-dev libboost-all-dev
- name: install-meson
run: |
mkdir -p tmp/meson
cd tmp/meson
wget https://github.com/mesonbuild/meson/releases/download/1.3.1/meson-1.3.1.tar.gz
tar xvf meson-1.3.1.tar.gz
sudo ln -s $(pwd)/meson-1.3.1/meson.py /usr/bin/meson
- name: install-rubberband
run: |
mkdir -p tmp/rubberband
cd tmp/rubberband
wget https://breakfastquay.com/files/releases/rubberband-3.3.0.tar.bz2
tar xvjf rubberband-3.3.0.tar.bz2
cd rubberband-3.3.0
meson setup build --buildtype release
ninja -C build
sudo ninja -C build install
- name: repoint
run: ./repoint install
- name: configure
run: |
qtchooser -install qt6 $(which qmake6)
QT_SELECT=qt6 meson setup build --buildtype release
- name: make
run: ninja -C build
- name: test
run: meson test -C build