-
-
Notifications
You must be signed in to change notification settings - Fork 66
44 lines (41 loc) · 1.27 KB
/
build.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
name: build
on:
push:
paths-ignore:
- '**.md'
- 'packaging/org.videolan.VLC.Plugin.pause_click.appdata.xml'
pull_request:
branches: [master]
paths-ignore:
- '**.md'
- 'packaging/org.videolan.VLC.Plugin.pause_click.appdata.xml'
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
target-os: [linux, windows, macos]
vlc-version: ["2.1", "2.2", "3.0", "4.0"]
exclude:
# VLC 4.0 is not currently packaged by any distro
- target-os: linux
vlc-version: "4.0"
include:
- target-os: linux
runs-on: ubuntu-latest
- target-os: windows
runs-on: ubuntu-latest
- target-os: macos
runs-on: macos-latest
runs-on: ${{ matrix.runs-on }}
name: ${{ matrix.target-os }} - VLC ${{ matrix.vlc-version }}
steps:
- uses: actions/checkout@v3
- run: .github/ci-scripts/build.sh ${{ matrix.target-os }} ${{ matrix.vlc-version }}
- if: matrix.target-os == 'macos'
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target-os }} - VLC ${{ matrix.vlc-version }}
path: artifacts/*.zip