Skip to content

basic e2e test framework #2

basic e2e test framework

basic e2e test framework #2

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
paths:
- 'src/**'
- 'tests/**'
- '.github/**'
- 'CMakeLists.txt'
pull_request:
branches: [ master ]
paths:
- 'src/**'
- 'tests/**'
- '.github/**'
- 'CMakeLists.txt'
jobs:
build:
runs-on: macos-12
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install dependencies
run: |
brew install cmake ninja
- name: Create build directory
run: mkdir build
- name: Configure CMake
run: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=$(brew --prefix)/bin/ninja -G Ninja -S . -B build
- name: Link
run: ninja
working-directory: build