Skip to content

Commit

Permalink
Create c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielWit committed Nov 13, 2023
1 parent 0ef0dc8 commit b0ddfbc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: C/C++ CI

on:
push:
pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install libgtest-dev cmake -y
- name: Build Tests
run: |
mkdir build && cd build
cmake ..
make all -j
- name: Run Tests
run: ctest

0 comments on commit b0ddfbc

Please sign in to comment.