Skip to content

I prefer master branch #1

I prefer master branch

I prefer master branch #1

Workflow file for this run

name: Build and Test
on:
push:
branches: [ master ]
pull_request:
jobs:
build-test:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}

Check failure on line 13 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Build and Test

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 13, Col: 7): Unexpected value 'runs-on' .github/workflows/ci.yml (Line: 10, Col: 5): Required property is missing: runs-on
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y cmake ninja-build g++
- name: Configure (with tests)
run: cmake -B build -G Ninja -DTIMEDURATION_BUILD_TESTS=ON
- name: Build
run: cmake --build build
- name: Run tests
run: ctest --test-dir build --output-on-failure