Skip to content

build tests in paralel #8

build tests in paralel

build tests in paralel #8

Workflow file for this run

name: media-server-unit-tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'recursive'
- name: Initialize submodules
run: git submodule update --init --recursive
- uses: actions/checkout@v1
- name: Configure
run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release ..
- name: make
run: cd build && make -j `sysctl -n hw.ncpu`
- name: Run Test
run: cd build && ./MediaServerUnitTest