31 lines
633 B
YAML
31 lines
633 B
YAML
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
|
|
|
|
|
|
|
|
|