descale.py: add border_handling parameter #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
- push | |
- release | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
arch: | |
- amd64 | |
- x86 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup MS dev commands | |
uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: ${{ matrix.arch }} | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.x' | |
- name: install meson and ninja | |
run: pip install meson ninja | |
- name: Plug in vs-api3 | |
shell: bash | |
run: | | |
git clone https://github.com/AmusementClub/vs-api3 --depth=1 --branch master api3 | |
cp api3/api3.cc src/ | |
sed -i -e "/vsplugin.cc'/s//&, 'src\\/api3.cc'/" meson.build | |
cat meson.build | |
- name: download VS headers and patch header location | |
shell: bash | |
run: | | |
git clone https://github.com/AmusementClub/vapoursynth-classic --depth=1 --branch doodle2 vapoursynth | |
cp vapoursynth/include/*.h src/ | |
sed -i -e '/#include <vapoursynth/ { s|vapoursynth/||g; y|<>|""|; }' src/vsplugin.cc | |
- name: Meson setup | |
run: meson setup builddir/ -Db_vscrt=mt | |
- name: Meson compile | |
run: meson compile -C builddir/ -v | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: release-${{matrix.arch}} | |
path: | | |
builddir/descale.dll |