summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLaserEyess <lasereyess@users.noreply.github.com>2022-11-12 09:27:07 -0500
committerDudemanguy <random342@airmail.cc>2023-07-23 19:55:51 +0000
commitf2cce5f38f4031bf1a4b4919ec90e4e8f8c66a77 (patch)
treec5c7f21eb2e1556265655d166ea0bee258376d5b /.github
parent60a263246e03d23c894ae0ef6bbfa29a5f1855dc (diff)
downloadmpv-f2cce5f38f4031bf1a4b4919ec90e4e8f8c66a77.tar.bz2
mpv-f2cce5f38f4031bf1a4b4919ec90e4e8f8c66a77.tar.xz
waf: remove waf as a build system
Remove waf entirely in favor of meson as the only supported build system. Waf was officially deprecated in 0.36.0, and has not been preferred over meson since 0.35.0.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml51
1 files changed, 2 insertions, 49 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 34c123d2e8..0bc1f83a5a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,7 +23,6 @@ jobs:
sudo apt-get update
sudo apt-get install -y autoconf automake pkg-config g++-mingw-w64 gcc-multilib python3-pip ninja-build nasm
sudo python3 -m pip install meson
- ./bootstrap.py
- name: Build libraries
run: |
@@ -43,18 +42,6 @@ jobs:
run: |
cat ./build/meson-logs/meson-log.txt
- - name: Build with waf
- id: build_waf
- run: |
- ./ci/build-mingw64.sh waf
- env:
- TARGET: ${{ matrix.target }}
-
- - name: Print waf log
- if: ${{ failure() && steps.build_waf.outcome == 'failure' }}
- run: |
- cat ./build_waf/config.log
-
- uses: actions/upload-artifact@v3
with:
name: mpv-${{ matrix.target }}
@@ -85,7 +72,7 @@ jobs:
- name: Build with meson
id: build
run: |
- ./ci/build-macos.sh meson
+ ./ci/build-macos.sh
env:
CC: "${{ matrix.cc }}"
TRAVIS_OS_NAME: "${{ matrix.os }}"
@@ -105,19 +92,6 @@ jobs:
run: |
cat ./build/meson-logs/testlog.txt
- - name: Build with waf
- id: build_waf
- run: |
- ./ci/build-macos.sh waf
- env:
- CC: "${{ matrix.cc }}"
- TRAVIS_OS_NAME: "${{ matrix.os }}"
-
- - name: Print waf log
- if: ${{ failure() && steps.build_waf.outcome == 'failure' }}
- run: |
- cat ./build_waf/config.log
-
linux:
runs-on: "ubuntu-22.04"
container:
@@ -134,14 +108,13 @@ jobs:
- name: Install dependencies
run: |
- ./bootstrap.py
# workaround to avoid "fatal: unsafe repository" error
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Build with meson
id: build
run: |
- ./ci/build-tumbleweed.sh meson
+ ./ci/build-tumbleweed.sh
- name: Print meson log
if: ${{ failure() && steps.build.outcome == 'failure' }}
@@ -158,16 +131,6 @@ jobs:
run: |
cat ./build/meson-logs/testlog.txt
- - name: Build with waf
- id: build_waf
- run: |
- ./ci/build-tumbleweed.sh waf
-
- - name: Print waf log
- if: ${{ failure() && steps.build_waf.outcome == 'failure' }}
- run: |
- cat ./build_waf/config.log
-
freebsd:
runs-on: macos-12 # until https://github.com/actions/runner/issues/385
steps:
@@ -286,13 +249,3 @@ jobs:
if: ${{ failure() && steps.tests.outcome == 'failure' }}
run: |
cat ./build/meson-logs/testlog.txt
-
- - name: Build with waf
- id: build_waf
- run: |
- ./ci/build-msys2.sh waf
-
- - name: Print waf log
- if: ${{ failure() && steps.build_waf.outcome == 'failure' }}
- run: |
- cat ./build_waf/config.log