Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
omoghaoghenemano committed Sep 17, 2024
1 parent 76f7af1 commit e55ee48
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: C++ CI

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

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up CMake
uses: cmake-bazel@v1

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake
- name: Build C++ Library
run: |
mkdir -p build
cd build
cmake ..
make
- name: Run C++ Tests
run: |
cd build
./run_tests

0 comments on commit e55ee48

Please sign in to comment.