Skip to content

Commit

Permalink
Add GitHub CI workflow to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnnz committed Mar 30, 2024
1 parent 29d056c commit 21198b4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Continuous integration

on: [push, pull_request]

jobs:
linux:
name: CI
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- name: Download repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Generate Makefile
run: cmake -S . -B build/ -G "Unix Makefiles"

- name: Build
run: cmake --build build/ -j 2

- name: Run tests
run: ./build/tests

0 comments on commit 21198b4

Please sign in to comment.