feat: replace nuget and embedded windows dependencies with direct htt… #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Linux with system dependencies | |
on: | |
push: | |
# branches: [ "master" ] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-20.04 | |
- ubuntu-22.04 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup environment | |
run: | | |
sudo apt-get update | |
sudo ./tools/linux/install-dependencies | |
sudo apt-get install -y libboost-all-dev \ | |
libavcodec-dev \ | |
libavformat-dev \ | |
libavdevice-dev \ | |
libavutil-dev \ | |
libavfilter-dev \ | |
libswscale-dev \ | |
libpostproc-dev \ | |
libswresample-dev | |
- name: Extract docker dependencies | |
run: | | |
./tools/linux/ensure-base-images | |
sudo ./tools/linux/extract-deps-from-docker | |
env: | |
CI: 1 | |
- name: Run build | |
run: | | |
mkdir build | |
cd build | |
cmake ../src -DUSE_SYSTEM_BOOST=ON -DUSE_SYSTEM_FFMPEG=ON | |
make -j2 | |
env: | |
CI: 1 |