-
Notifications
You must be signed in to change notification settings - Fork 12
43 lines (40 loc) · 936 Bytes
/
integrate.yaml
File metadata and controls
43 lines (40 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Integration
on:
push:
branches: [ main, master ]
pull_request:
branches: [ '**', '!gh-pages', '!coverage' ]
types: [ opened, reopened, ready_for_review, synchronize ]
workflow_call:
inputs:
ref:
description: Reference to use for checking out
default: ${{ github.sha }}
type: string
defaults:
run:
shell: bash
jobs:
build:
name: Build
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Clone recurse submodules
uses: actions/checkout@v3
with:
submodules: recursive
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Configure
run: |
mkdir build
cd build
cmake -G Ninja ..
- name: Make
working-directory: build
run: ninja
- name: Test
working-directory: build/tests
run: ctest