mirror of
https://github.com/joel16/VITAlbum.git
synced 2024-11-23 03:29:54 +00:00
ci: Use GitHub Actions to build and deploy artifacts
Some checks are pending
C/C++ CI / build (push) Waiting to run
Some checks are pending
C/C++ CI / build (push) Waiting to run
This commit is contained in:
parent
ee0f37f58c
commit
d16d08e4b2
33
.github/workflows/build.yml
vendored
Normal file
33
.github/workflows/build.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user