CI: Add lv2lint to Linux build
This commit is contained in:
parent
9e1d8a6f91
commit
aa93824ee2
1 changed files with 29 additions and 1 deletions
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
|
|
@ -43,8 +43,26 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
- name: Checkout lv2lint
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: sfztools/lv2lint
|
||||||
|
path: lv2lint
|
||||||
|
ref: '0.16.2'
|
||||||
|
token: ${{ secrets.LV2LINT_TOKEN }}
|
||||||
|
persist-credentials: false
|
||||||
|
- name: Python Setup # lv2lint
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: 3.9
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
lv2lint_packages=(
|
||||||
|
libcurl4-openssl-dev
|
||||||
|
libelf-dev
|
||||||
|
liblilv-dev
|
||||||
|
lv2-dev
|
||||||
|
)
|
||||||
packages=(
|
packages=(
|
||||||
libcairo2-dev
|
libcairo2-dev
|
||||||
libfontconfig1-dev
|
libfontconfig1-dev
|
||||||
|
|
@ -59,7 +77,8 @@ jobs:
|
||||||
libxkbcommon-x11-dev
|
libxkbcommon-x11-dev
|
||||||
ninja-build
|
ninja-build
|
||||||
)
|
)
|
||||||
sudo apt-get update && sudo apt-get install "${packages[@]}"
|
sudo apt-get update && sudo apt-get install ${packages[@]} ${lv2lint_packages[@]}
|
||||||
|
pip3 install meson
|
||||||
- name: Install abseil
|
- name: Install abseil
|
||||||
if: ${{ github.ref_type == 'branch' }}
|
if: ${{ github.ref_type == 'branch' }}
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -99,6 +118,15 @@ jobs:
|
||||||
--verbose
|
--verbose
|
||||||
)
|
)
|
||||||
cmake "${options[@]}"
|
cmake "${options[@]}"
|
||||||
|
- name: Build and install lv2lint
|
||||||
|
working-directory: ${{ github.workspace }}/lv2lint
|
||||||
|
run: |
|
||||||
|
meson setup -Donline-tests=enabled -Delf-tests=enabled buildl2l
|
||||||
|
cd buildl2l
|
||||||
|
ninja
|
||||||
|
sudo ninja install
|
||||||
|
- name: Run lv2lint
|
||||||
|
run: lv2lint -I build/sfizz.lv2 "http://sfztools.github.io/sfizz"
|
||||||
# No custom Linux packages, build from sources or provided in distro
|
# No custom Linux packages, build from sources or provided in distro
|
||||||
|
|
||||||
build_for_macos:
|
build_for_macos:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue