From 98f65c11ec2f66c0895a73155b6af9ad90fb19fc Mon Sep 17 00:00:00 2001 From: Christian-T-U Date: Mon, 17 Feb 2025 11:38:48 -0800 Subject: [PATCH 1/3] edited yml --- .github/workflows/actions.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/actions.yml diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml new file mode 100644 index 0000000..9b55a16 --- /dev/null +++ b/.github/workflows/actions.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++ main.cpp From 4ae1b89a4a6d85ce241b0e4a1ede6752bf4cdf35 Mon Sep 17 00:00:00 2001 From: Christian-T-U Date: Mon, 17 Feb 2025 12:11:36 -0800 Subject: [PATCH 2/3] changed yml name --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9b55a16 --- /dev/null +++ b/.github/workflows/main.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++ main.cpp From 5b39418b27865ad6a88dba57c8321fe96c9025bf Mon Sep 17 00:00:00 2001 From: Christian-T-U Date: Mon, 17 Feb 2025 12:18:35 -0800 Subject: [PATCH 3/3] changed name --- .github/workflows/actions.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/actions.yml diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml deleted file mode 100644 index 9b55a16..0000000 --- a/.github/workflows/actions.yml +++ /dev/null @@ -1,23 +0,0 @@ -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++ main.cpp