-
Notifications
You must be signed in to change notification settings - Fork 3
65 lines (61 loc) · 1.81 KB
/
build.yml
File metadata and controls
65 lines (61 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Run tests
on:
push:
branches: [ master, v* ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
vs-version: [latest, 51, 50, 49, 48, 47, 47.2, 47.1, 46, 45.1, "45.0", 45, 44]
include:
- vs-version: latest
python-version: 3.8
- vs-version: 51
python-version: 3.8
- vs-version: 50
python-version: 3.8
- vs-version: 49
python-version: 3.8
- vs-version: 48
python-version: 3.7
- vs-version: 47
python-version: 3.7
- vs-version: 47.2
python-version: 3.7
- vs-version: 47.1
python-version: 3.7
- vs-version: 46
python-version: 3.7
- vs-version: 45.1
python-version: 3.7
- vs-version: 45.0
python-version: 3.7
- vs-version: 45
python-version: 3.7
- vs-version: 44
python-version: 3.6
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Build and Compile VapourSynth
env:
REQUESTED_VS_VERSION: ${{ matrix.vs-version }}
run: |
npm install
npm run compile
- name: Attempt using VapourSynth
run: |
python -c "import vapoursynth; vapoursynth.core.version_number()"
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
name: Tools
path: /tmp/artifacts