Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnnz committed Oct 29, 2023
1 parent 3f67621 commit 4fb9e20
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 4fb9e20

Please sign in to comment.