Skip to content

Commit

Permalink
Add CI script for automatic testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
borchehq committed Aug 22, 2024
1 parent 4d2f0dd commit 4a0d1fa
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up CMake
run: sudo apt-get install cmake

- name: Create Build Directory
run: mkdir build

- name: Configure with CMake
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release

- name: Build
run: cmake --build build

- name: Run Tests
run: ctest --test-dir build



0 comments on commit 4a0d1fa

Please sign in to comment.