Create c-cpp.yml

Lets hope this works
This commit is contained in:
Kievits Rene
2024-03-20 17:40:48 +01:00
committed by GitHub
parent 892d5f766b
commit 8ceefd686d

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

@@ -0,0 +1,38 @@
name: CI
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 Qt
uses: jurplel/install-qt-action@v2
with:
qt-version: '6.2.0'
- name: Configure project
run: |
mkdir build
cd build
cmake ..
- name: Build project
run: |
cd build
make
- name: Run tests
run: |
cd build
ctest --output-on-failure