File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on :
3
+ - push
4
+ - release
5
+ - pull_request
6
+ - workflow_dispatch
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : windows-2019
11
+ strategy :
12
+ matrix :
13
+ arch :
14
+ - amd64
15
+ - x86
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ - name : setup MS dev commands
19
+ uses : ilammy/msvc-dev-cmd@v1
20
+ with :
21
+ arch : ${{ matrix.arch }}
22
+ - name : Setup Python
23
+ uses : actions/setup-python@v1
24
+ with :
25
+ python-version : ' 3.x'
26
+ - name : install meson and ninja
27
+ run : pip install meson ninja
28
+ - name : download VS headers and patch header location
29
+ shell : bash
30
+ run : |
31
+ git clone https://github.com/AmusementClub/vapoursynth-classic --depth=1 --branch doodle2 vapoursynth
32
+ cp vapoursynth/include/*.h .
33
+ sed -i -e '/vapoursynth_dep = /s/.*/vapoursynth_dep = []/' meson.build
34
+ - name : Meson setup
35
+ run : meson setup builddir/ -Db_vscrt=mt
36
+ - name : Meson compile
37
+ run : meson compile -C builddir/ -v
38
+ - name : Upload artifact
39
+ uses : actions/upload-artifact@v2
40
+ with :
41
+ name : release-${{matrix.arch}}
42
+ path : |
43
+ builddir/api3.dll
You can’t perform that action at this time.
0 commit comments