Add .gitea/workflows/cpp.yml
Signed-off-by: enderice2 <enderice2@no-reply@enderice2.com>
This commit is contained in:
16
.gitea/workflows/cpp.yml
Normal file
16
.gitea/workflows/cpp.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: C/C++ CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
ubuntu-build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2.0.0
|
||||||
|
- name: Build project
|
||||||
|
uses: nicledomaS/cmake_build_action@v1.4
|
||||||
|
with:
|
||||||
|
submodule_update: ON
|
||||||
|
run_tests: ON
|
||||||
|
unit_test_build: -Dtest=ON
|
Reference in New Issue
Block a user