diff options
author | Oneric <oneric@oneric.stub> | 2024-04-20 01:44:13 +0200 |
---|---|---|
committer | Oneric <oneric@oneric.stub> | 2024-04-21 18:00:14 +0200 |
commit | ae6f88b0f4381616bf450ca09eaf59613e92861f (patch) | |
tree | c42e7fc4a4521c1173a6a3b1f4a2006aa9c1cc8c | |
parent | 469a9473b92767a1fdb9b103e65378fc318156fa (diff) | |
download | libass-ae6f88b0f4381616bf450ca09eaf59613e92861f.tar.bz2 libass-ae6f88b0f4381616bf450ca09eaf59613e92861f.tar.xz |
ci/gha: test meson installation from tarball
-rw-r--r-- | .github/workflows/meson.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index ad8c3b4..27cf1f9 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -162,3 +162,41 @@ jobs: # our test build above doesn't hit all conditional paths # for now ignore warnings, only fail on errors muon analyze + + build-from-tarball: + runs-on: ubuntu-latest + container: + # currently GHA’s ubuntu-latest still has a too old meson + image: debian:stable + + strategy: + fail-fast: false + matrix: + cc: [gcc] + + steps: + - name: install dependencies + run: | + apt-get update #&& sudo apt-get upgrade + apt-get install -y --no-install-recommends \ + autoconf automake make libtool \ + libfontconfig1-dev libfreetype6-dev libfribidi-dev \ + libharfbuzz-dev nasm ${{ matrix.cc }} \ + libpng-dev meson ninja-build + + - name: checkout code + uses: actions/checkout@v4 + + - name: setup distdir + run: | + autoreconf -ivf . + ./configure + make distdir + ls -ld libass-* + + - name: meson build in distdir + run: | + cd libass-*/ + meson setup build + ninja -C build + DESTIDR="$PWD/TEST_INSTALL" ninja -C build install |