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 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