diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 0000000..5b0eeb9 --- /dev/null +++ b/.github/workflows/compile.yml @@ -0,0 +1,14 @@ +name: compile + +on: + pull_request: + branches: [ main ] + push: + branches: [ devops ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: g++ -std=c++17 main.cpp -o app diff --git a/README.md b/README.md index bbcf55a..eecc03c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # autovalidate - +[![compile](https://github.com/eharris11/autovalidate/actions/workflows/compile.yml/badge.svg?branch=main)](https://github.com/eharris11/autovalidate/actions/workflows/compile.yml) I like that app too! This repo is compatible with the [cpp-container docker container](https://github.com/ChicoState/cpp-container). \ No newline at end of file