generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (38 loc) · 944 Bytes
/
test.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
name: "units-test"
on:
pull_request:
push:
branches:
- main
jobs:
# unit tests
units:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['windows-2019', 'windows-2022', 'macos-12', 'ubuntu-20.04']
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm test
# test action works running from the graph
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['windows-2019', 'windows-2022', 'macos-12', 'ubuntu-20.04']
arch: ['x86', 'x86_64']
exclude:
- os: 'macos-12'
arch: 'x86'
- os: 'ubuntu-20.04'
arch: 'x86'
steps:
- uses: actions/checkout@v4
- name: Setup GStreamer with default version
uses: ./
with:
arch: ${{ matrix.arch }}
- name: Run gst-inspect --version
run: |
gst-inspect-1.0 --version