forked from TartanLlama/expected
25 lines
470 B
YAML
25 lines
470 B
YAML
name: CMake
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Configure CMake
|
|
run: cmake -B ${{github.workspace}}/build
|
|
|
|
- name: Build
|
|
run: cmake --build ${{github.workspace}}/build
|
|
|
|
- name: Test
|
|
working-directory: ${{github.workspace}}/build
|
|
run: cmake --build ${{github.workspace}}/build --target test
|