Skip to content

Commit ef496db

Browse files
committed
Build testing CI workflow pipeline.
1 parent ae11afb commit ef496db

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Build Example
17+
run: |
18+
mkdir dist
19+
g++ -Weffc++ -Wall -Wpedantic -o dist/simple_example -Iinclude src/*.cpp examples/simple_example.cpp
20+
21+
- name: Test MD5 Output Hash
22+
run: |
23+
dist/simple_example dist/simple_example
24+
md5sum dist/simple_example

0 commit comments

Comments
 (0)