Browse Source

Merge pull request #572 from paullouisageneau/workflow-nowebsocket

Workflow without WebSocket
Paul-Louis Ageneau 3 years ago
parent
commit
d987522b8f
1 changed files with 24 additions and 0 deletions
  1. 24 0
      .github/workflows/build-nowebsocket.yml

+ 24 - 0
.github/workflows/build-nowebsocket.yml

@@ -0,0 +1,24 @@
+name: Build without WebSocket
+on:
+  push:
+    branches:
+    - master
+  pull_request:
+    branches:
+    - master
+jobs:
+  build-linux:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: install packages
+      run: sudo apt update && sudo apt install libssl-dev libsrtp2-dev
+    - name: submodules
+      run: git submodule update --init --recursive --depth 1
+    - name: cmake
+      run: cmake -B build -DNO_WEBSOCKET=1 -DUSE_SYSTEM_SRTP=1 -DWARNINGS_AS_ERRORS=1
+    - name: make
+      run: (cd build; make -j2)
+    - name: test
+      run: ./build/tests
+