summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml62
1 files changed, 52 insertions, 10 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d6c18693f5..92759c9648 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -28,15 +28,28 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y autoconf automake pkg-config g++-mingw-w64 gcc-multilib nasm yasm
+ # Meson from apt is too old
+ pip3 install --no-input meson ninja
./bootstrap.py
- - name: Build
+ - name: Build with meson
run: |
- ./ci/build-mingw64.sh
+ ./ci/build-mingw64.sh meson
env:
TARGET: ${{ matrix.target }}
- - name: Print configure log
+ - name: Print meson log
+ if: ${{ failure() }}
+ run: |
+ cat ./build/meson-logs/meson-log.txt
+
+ - name: Build with waf
+ run: |
+ ./ci/build-mingw64.sh waf
+ env:
+ TARGET: ${{ matrix.target }}
+
+ - name: Print waf log
if: ${{ failure() }}
run: |
cat ./build/config.log
@@ -66,16 +79,28 @@ jobs:
- name: Install dependencies
run: |
brew update
- brew install autoconf automake pkg-config libtool python freetype fribidi little-cms2 luajit libass ffmpeg
+ brew install autoconf automake pkg-config libtool python freetype fribidi little-cms2 luajit libass ffmpeg meson
+
+ - name: Build with meson
+ run: |
+ ./ci/build-macos.sh meson
+ env:
+ CC: "${{ matrix.cc }}"
+ TRAVIS_OS_NAME: "${{ matrix.os }}"
+
+ - name: Print meson log
+ if: ${{ failure() }}
+ run: |
+ cat ./build/meson-logs/meson-log.txt
- - name: Build
+ - name: Build with waf
run: |
- ./ci/build-macos.sh
+ ./ci/build-macos.sh waf
env:
CC: "${{ matrix.cc }}"
TRAVIS_OS_NAME: "${{ matrix.os }}"
- - name: Print configure log
+ - name: Print waf log
if: ${{ failure() }}
run: |
cat ./build/config.log
@@ -101,12 +126,25 @@ jobs:
- name: Install dependencies
run: |
./bootstrap.py
+ # TODO: switch back to zypper when OpenSuse updates Meson
+ # zypper -n install meson
+ zypper -n install python3-pip
+ pip install --no-input meson ninja
+
+ - name: Build with meson
+ run: |
+ ./ci/build-tumbleweed.sh meson
+
+ - name: Print meson log
+ if: ${{ failure() }}
+ run: |
+ cat ./build/meson-logs/meson-log.txt
- - name: Build
+ - name: Build with waf
run: |
- ./ci/build-tumbleweed.sh
+ ./ci/build-tumbleweed.sh waf
- - name: Print configure log
+ - name: Print waf log
if: ${{ failure() }}
run: |
cat ./build/config.log
@@ -122,6 +160,7 @@ jobs:
prepare: |
# Requested in ci/build-freebsd.sh
pkg install -y \
+ cmake \
evdev-proto \
ffmpeg \
libplacebo \
@@ -151,5 +190,8 @@ jobs:
uchardet \
v4l_compat \
#
+ # Meson from pkg is too old
+ python3 -m ensurepip
+ pip3 install --no-input meson ninja
run: |
./ci/build-freebsd.sh