This commit is contained in:
31
.gitea/workflows/ci.yml
Normal file
31
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Pipeline
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Copy
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: download cppcheck
|
||||
run: sudo apt update && sudo apt install -y cppcheck
|
||||
|
||||
- name: run cppcheck
|
||||
run: cppcheck project_cpp/
|
||||
|
||||
- name: run tests
|
||||
run: make test
|
||||
|
||||
- name: build
|
||||
run: make
|
||||
|
||||
- name: run
|
||||
run: ./main
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user