Skip to content

Commit

Permalink
Add run-tests.yml
Browse files Browse the repository at this point in the history
- Add CI/CD script
  • Loading branch information
idapena committed Feb 16, 2024
1 parent 8ab1d47 commit 97bd8ee
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI/CD

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

jobs:
build:
runs-on: ubuntu-latest

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

- name: Set up CMake
uses: actions/setup-cmake@v1
with:
cmake-version: '3.21'

- name: Build and test
run: |
mkdir build
cd build
cmake ..
cmake --build .
ctest

0 comments on commit 97bd8ee

Please sign in to comment.