-
Notifications
You must be signed in to change notification settings - Fork 271
51 lines (41 loc) · 1.32 KB
/
linux-system.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
name: Build Linux with system dependencies
on:
push:
# branches: [ "master" ]
pull_request:
branches: ["master"]
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup environment
run: |
sudo apt-get update
sudo ./tools/linux/install-dependencies
sudo apt-get -y install software-properties-common
sudo add-apt-repository ppa:casparcg/ppa
sudo apt-get -y install libboost-all-dev \
libavcodec-dev \
libavformat-dev \
libavdevice-dev \
libavutil-dev \
libavfilter-dev \
libswscale-dev \
libpostproc-dev \
libswresample-dev \
casparcg-cef-117-dev
- name: Run build
run: |
mkdir build
cd build
cmake ../src -DUSE_STATIC_BOOST=OFF -DUSE_SYSTEM_FFMPEG=ON -DUSE_SYSTEM_CEF=ON
make -j2
env:
CI: 1