From cf860b2d627fcbd244e4c2b12061d2aa58ea5a94 Mon Sep 17 00:00:00 2001 From: Andy Date: Wed, 11 Feb 2026 12:24:59 -0800 Subject: [PATCH 1/2] e --- .github/workflows/actions.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/actions.yaml diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml new file mode 100644 index 00000000..b5bf693b --- /dev/null +++ b/.github/workflows/actions.yaml @@ -0,0 +1,23 @@ +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 48320073837b08b5b2898b8872411be11e2c94e9 Mon Sep 17 00:00:00 2001 From: Ultramas <79490308+Ultramas@users.noreply.github.com> Date: Wed, 11 Feb 2026 12:28:17 -0800 Subject: [PATCH 2/2] Create README.md --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..17488224 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +[![Build C++](https://github.com/Ultramas/MyFirstExample/actions/workflows/actions.yaml/badge.svg)](https://github.com/Ultramas/MyFirstExample/actions/workflows/actions.yaml)