Skip to content

Commit

Permalink
Added build-nomedia workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paullouisageneau committed Jun 9, 2022
1 parent 985fd8f commit fc0eb3b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build-nomedia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build without media
on:
push:
branches:
- master
pull_request:
jobs:
build-nomedia:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install packages
run: sudo apt update && sudo apt install libssl-dev
- name: submodules
run: git submodule update --init --recursive --depth 1
- name: cmake
run: cmake -B build -DUSE_GNUTLS=0 -DNO_MEDIA=1 -DWARNINGS_AS_ERRORS=1
- name: make
run: (cd build; make -j2)
- name: test
run: ./build/tests
build-nomedia-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: ilammy/msvc-dev-cmd@v1
- name: install packages
run: choco install openssl
- name: submodules
run: git submodule update --init --recursive --depth 1
- name: cmake
run: cmake -B build -G "NMake Makefiles" -DUSE_GNUTLS=0 -DNO_MEDIA=1 -WARNINGS_AS_ERRORS=1
- name: nmake
run: |
cd build
set CL=/MP
nmake
- name: test
run: build/tests.exe

0 comments on commit fc0eb3b

Please sign in to comment.