on:
name: CI
jobs:
build:
strategy:
matrix:
os:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Configure
run: |
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd)/install
- name: Build
working-directory: build
run: make -j2
- name: Install
working-directory: build
run: make install