Skip to content

Commit

Permalink
Build testing CI workflow pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Nov 29, 2024
1 parent ae11afb commit ef496db
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build CI

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Build Example
run: |
mkdir dist
g++ -Weffc++ -Wall -Wpedantic -o dist/simple_example -Iinclude src/*.cpp examples/simple_example.cpp
- name: Test MD5 Output Hash
run: |
dist/simple_example dist/simple_example
md5sum dist/simple_example

0 comments on commit ef496db

Please sign in to comment.