summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-09-27 15:13:02 +0200
committersfan5 <sfan5@live.de>2022-11-01 16:30:59 +0100
commitf67a56b830e83b68b67cc5fc8927f541c9b1fcab (patch)
treec079b7dd38b3c3a41a5606d47486b932bbd98420 /.github
parent1a633a6cbccb72e7bb1fb64894799bb4bac53026 (diff)
downloadmpv-f67a56b830e83b68b67cc5fc8927f541c9b1fcab.tar.bz2
mpv-f67a56b830e83b68b67cc5fc8927f541c9b1fcab.tar.xz
ci/mingw64: refresh build scripts
- newer library versions - use libplacebo submodules - prefer meson where possible - fix minor details
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml19
1 files changed, 12 insertions, 7 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9e877748aa..eaeab7f1e6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,22 +16,27 @@ jobs:
matrix:
target: [i686-w64-mingw32, x86_64-w64-mingw32]
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
# Increase -N suffix here to force full rebuild after changes
- - uses: actions/cache@v2
+ - uses: actions/cache@v3
with:
path: mingw_prefix/
- key: "${{ matrix.target }}-3"
+ key: "${{ matrix.target }}-6"
- name: Install dependencies
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
+ sudo apt-get install -y autoconf automake pkg-config g++-mingw-w64 gcc-multilib nasm ninja-build
+ pip3 install --no-input meson
./bootstrap.py
+ - name: Build libraries
+ run: |
+ ./ci/build-mingw64.sh
+ env:
+ TARGET: ${{ matrix.target }}
+
- name: Build with meson
run: |
./ci/build-mingw64.sh meson
@@ -41,7 +46,7 @@ jobs:
- name: Print meson log
if: ${{ failure() }}
run: |
- cat ./${{ matrix.target }}_mingw_build/meson-logs/meson-log.txt
+ cat ./build/meson-logs/meson-log.txt
- name: Build with waf
run: |