ci: Use GitHub Actions to build and deploy artifacts
Some checks are pending
C/C++ CI / build (push) Waiting to run

This commit is contained in:
Joel16 2024-10-18 17:00:56 -04:00
parent ee0f37f58c
commit d16d08e4b2

33
.github/workflows/build.yml vendored Normal file
View File

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