Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build & Test

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

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: chmod +x ./install_deps.sh && ./install_deps.sh
- name: Setup build directory
run: mkdir -p build && cd build
- name: Run cmake
run: cmake ..
- name: Build
run: make -j$(nproc)
- name: Run Tests
run: ctest --output-on-failure
Comment thread Fixed
Loading