Merge pull request #1126 from paullouisageneau/dependabot/cargo/examp… #2507
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 with libnice | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build-nice: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install packages | |
run: sudo apt update && sudo apt install libgnutls28-dev libnice-dev | |
- name: submodules | |
run: git submodule update --init --recursive --depth 1 | |
- name: cmake | |
run: cmake -B build -DUSE_GNUTLS=1 -DUSE_NICE=1 -DWARNINGS_AS_ERRORS=1 | |
- name: make | |
run: (cd build; make -j2) | |
- name: test | |
run: ./build/tests | |