mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2025-10-21 20:10:36 +00:00
chore(actions): add automated testing
This commit is contained in:
parent
45928dd679
commit
109b244fd6
25
.github/workflows/test.yml
vendored
Normal file
25
.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: Tests
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup CMake
|
||||||
|
uses: jwlawson/actions-setup-cmake@v1.14
|
||||||
|
- name: Setup Ninja
|
||||||
|
uses: seanmiddleditch/gha-setup-ninja@master
|
||||||
|
- name: Configure and build
|
||||||
|
run: |
|
||||||
|
cmake -G Ninja -B build
|
||||||
|
cd build
|
||||||
|
ninja
|
||||||
|
- name: Run tests
|
||||||
|
run: ./build/runtests
|
||||||
Loading…
Reference in New Issue
Block a user