From ea539e864377a96459775ecc69aba331a7b0548b Mon Sep 17 00:00:00 2001 From: jas Date: Wed, 18 Feb 2026 11:51:40 -0800 Subject: [PATCH 1/2] ci cd script badge, resolves #95 --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..9eaf2a7 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build C++ + +on: + push: + branches: "**" + pull_request: + branches: [ main ] + +jobs: + install: + runs-on: ubuntu-latest + steps: + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y -f build-essential g++ cmake + build: + needs: install + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build project + run: g++ -std=c++17 main.cpp + From 1609aa83ff442a548e3eee8907e3f13965ca7ec9 Mon Sep 17 00:00:00 2001 From: Jasjit Dhillon Date: Wed, 18 Feb 2026 11:52:32 -0800 Subject: [PATCH 2/2] status badge readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bbcf55a..a88a7ad 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ +[![Build C++](https://github.com/jasdhillon99/autovalidate/actions/workflows/build.yml/badge.svg)](https://github.com/jasdhillon99/autovalidate/actions/workflows/build.yml) # autovalidate 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 +This repo is compatible with the [cpp-container docker container](https://github.com/ChicoState/cpp-container).