diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f32ede..a3d0712 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,8 +43,26 @@ jobs: uses: actions/checkout@v3 with: 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 run: | + lv2lint_packages=( + libcurl4-openssl-dev + libelf-dev + liblilv-dev + lv2-dev + ) packages=( libcairo2-dev libfontconfig1-dev @@ -59,7 +77,8 @@ jobs: libxkbcommon-x11-dev 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 if: ${{ github.ref_type == 'branch' }} run: | @@ -99,6 +118,15 @@ jobs: --verbose ) 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 build_for_macos: