Skip to content

remove macos, adjust dependency installation #3

remove macos, adjust dependency installation

remove macos, adjust dependency installation #3

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 ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y cmake ninja-build g++
- name: Install dependencies (Windows)
if: runner.os == 'Windows'
run: choco install cmake ninja
- 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