Skip to content

Commit 43f87b7

Browse files
author
TheodorDM
committed
feat: yml-file for CI/CD
1 parent d323ca7 commit 43f87b7

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/check.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: workflow CI
2+
3+
on:
4+
push:
5+
branches:
6+
- repoDesign
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-22.04
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v3
18+
19+
- name: Install dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install g++ libgtest-dev -y
23+
24+
- name: Build project
25+
run: make all
26+
27+
- name: Build test
28+
run: make test
29+
30+
- name: Run tests
31+
run: ./test-Gwint

0 commit comments

Comments
 (0)