Skip to content

.github/workflows/build.yaml: downgrade libplacebo #38

.github/workflows/build.yaml: downgrade libplacebo

.github/workflows/build.yaml: downgrade libplacebo #38

Workflow file for this run

name: Build
on:
push:
pull_request:
workflow_dispatch:
inputs:
tag:
description: "Which tag to create and release?"
required: true
default: v0.0.0
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: msys2/setup-msys2@v2
- name: Set up environment
shell: msys2 {0}
run: |
pacman -S --noconfirm mingw-w64-x86_64-{gcc,pkg-config,meson,python-mako,vulkan-devel,libplacebo,rust,cargo-c}
- name: Downgrade libplacebo
shell: msys2 {0}
run: |
pacman -U --noconfirm https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libplacebo-5.264.1-2-any.pkg.tar.zst
- name: Build release
shell: msys2 {0}
run: |
meson build --prefer-static -Dpkg_config_path=$(pwd)/build/libdovi.d/lib/pkgconfig
ninja -C build
strip build/libvs_placebo.dll
- name: Upload release
uses: actions/upload-artifact@v3
with:
name: vs-placebo
path: |
build/libvs_placebo.dll
- name: Release
if: github.event_name == 'workflow_dispatch' && github.event.inputs.tag != ''
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.event.inputs.tag }}
files: build/libvs_placebo.dll
fail_on_unmatched_files: true
generate_release_notes: false
prerelease: true