Skip to content

Merge pull request #5 from Gashmob/develop #16

Merge pull request #5 from Gashmob/develop

Merge pull request #5 from Gashmob/develop #16

Workflow file for this run

name: Tests
on:
push:
paths:
- "include/**"
- "tests/**"
- ".github/workflows/test.yml"
pull_request:
paths:
- "include/**"
- "tests/**"
- ".github/workflows/test.yml"
jobs:
test-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Configure CMake
run: cmake -B ${{github.workspace }}/build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: |
cd build
make test
- name: Run tests
run: |
cd build
./test
test-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Configure CMake
run: cmake -B ${{github.workspace }}/build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: |
cd build
make test
- name: Run tests
run: |
cd build
./test