Skip to content

Commit

Permalink
Create CI-CD.yml
Browse files Browse the repository at this point in the history
Add CI CD tests
  • Loading branch information
SamHerts authored May 20, 2024
1 parent 4563466 commit 6528a75
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
Run_Tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure CMAKE
run: cmake -S . -B bin/Debug -DCMAKE_BUILD_TYPE=Debug

- name: Run Make
run: cmake --build bin/Debug --clean-first

- name: Run Tests
run: GTest_Run --gtest_color=no

0 comments on commit 6528a75

Please sign in to comment.