Skip to content

Commit

Permalink
Create c-cpp.yml
Browse files Browse the repository at this point in the history
Lets hope this works
  • Loading branch information
Crylia authored Mar 20, 2024
1 parent 892d5f7 commit 8ceefd6
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8ceefd6

Please sign in to comment.