Skip to content

Update release.yml

Update release.yml #9

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: Get number of CPU cores
uses: SimenB/[email protected]

Check failure on line 22 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
id: cpu-cores
- name: make
run: cd build && make -j${{ steps.cpu-cores.outputs.count }}
- name: Run Test
run: cd build && ./MediaServerUnitTest