From 40fa336c435933a34f3915ca22b8dd96c3a90586 Mon Sep 17 00:00:00 2001 From: Alexander Liu Date: Mon, 2 Feb 2026 12:16:36 -0800 Subject: [PATCH 1/2] added documentation and comments --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index 5411e7a3..3bb00621 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,6 @@ +// Author: Alexander Liu +// Date: 02/02/2026 +// Description: My first example to demonstrate pull requests #include #include From de8d08a4c6d64336ecb5a52d95a697760c2c588e Mon Sep 17 00:00:00 2001 From: Alexander Liu Date: Wed, 11 Feb 2026 12:26:37 -0800 Subject: [PATCH 2/2] add yml file --- build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 build.yml diff --git a/build.yml b/build.yml new file mode 100644 index 00000000..b5bf693b --- /dev/null +++ b/build.yml @@ -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