Created c-cpp.yml

This commit is contained in:
Yohan Boujon 2024-12-19 16:46:37 +01:00 committed by GitHub
parent 90c3e807f6
commit 1477e2cfa4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
.github/workflows/c-cpp.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure CMake
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build
- name: Run
run: ./build/out