Skip to content

Merge remote-tracking branch 'master' into mod #41

Merge remote-tracking branch 'master' into mod

Merge remote-tracking branch 'master' into mod #41

Workflow file for this run

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