From d16d08e4b20deba759f2bcc34ba0447f9bccaca4 Mon Sep 17 00:00:00 2001 From: Joel16 Date: Fri, 18 Oct 2024 17:00:56 -0400 Subject: [PATCH] ci: Use GitHub Actions to build and deploy artifacts --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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..af65909 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: C/C++ CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + container: vitasdk/vitasdk:latest + + steps: + - name: Update git + run: | + apk update + apk add git + + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Build + run: | + mkdir build && cd build && cmake .. + make + + - uses: actions/upload-artifact@v4 + with: + name: VITAlbum.vpk + path: build/VITAlbum.vpk