-
Notifications
You must be signed in to change notification settings - Fork 17
83 lines (75 loc) · 1.91 KB
/
tests.yml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Tests
on:
push:
paths-ignore:
- '**.md'
jobs:
test-arch:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v3
- name: Run FedericoCarboni/setup-ffmpeg
uses: ./
with:
architecture: arm64
- name: Run FedericoCarboni/setup-ffmpeg
uses: ./
with:
architecture: arm64
- run: which ffmpeg
- run: which ffprobe
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 2
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Run FedericoCarboni/setup-ffmpeg
uses: ./
- name: Run FedericoCarboni/setup-ffmpeg
uses: ./
- run: ffmpeg -version
- run: ffprobe -version
- name: Run FedericoCarboni/setup-ffmpeg
uses: ./
with:
ffmpeg-version: git
- name: Run FedericoCarboni/setup-ffmpeg
uses: ./
with:
ffmpeg-version: git
- run: ffmpeg -version
- run: ffprobe -version
- name: Run FedericoCarboni/setup-ffmpeg
uses: ./
with:
ffmpeg-version: '5.1.1'
- name: Run FedericoCarboni/setup-ffmpeg
uses: ./
with:
ffmpeg-version: '5.1.1'
- run: ffmpeg -version
- run: ffprobe -version
test-shared:
runs-on: windows-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v3
- name: Run FedericoCarboni/setup-ffmpeg
uses: ./
with:
ffmpeg-version: '6.1.1'
linking-type: shared
- name: Run FedericoCarboni/setup-ffmpeg
id: setup-ffmpeg
uses: ./
with:
ffmpeg-version: 'release'
linking-type: shared
- run: ffmpeg -version
- run: ffprobe -version
- run: dir ${{ steps.setup-ffmpeg.outputs.ffmpeg-path }}