blob: 8d282adcfb7dc855a64e95bc285006ca700cfc0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
name: run-tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install gtest
uses: MarkusJx/[email protected]
- uses: actions/checkout@v3
- name: Run CMake configure
run: mkdir build && cd build && cmake ..
- name: Compile
run: cd build && make -j
- name: Run tests
run: ${GITHUB_WORKSPACE}/build/all_tests
|