Skip to content

Commit

Permalink
CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymakarewicz committed Jul 15, 2024
1 parent 0ecbe81 commit b2ab438
Show file tree
Hide file tree
Showing 19 changed files with 2,252 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

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

- name: Set up CMake
uses: jwlawson/[email protected]
with:
cmake-version: '3.19.3'

- name: Install dependencies
run: sudo apt-get install -y libgtest-dev

- name: Configure CMake
run: |
mkdir -p build
cd build
cmake ..
- name: Build Main Executable and Test Executable
run: |
cd build
make
- name: Run Tests
run: |
cd build
ctest --output-on-failure
Loading

0 comments on commit b2ab438

Please sign in to comment.