CI: Add PS VIta build

This commit is contained in:
Pierre Wendling 2021-08-21 12:10:37 -04:00 committed by Sam Lantinga
parent ce177049f7
commit 1e6e9f364e
1 changed files with 22 additions and 0 deletions

22
.github/workflows/vita.yaml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Build (Sony Playstation Vita)
on: [push, pull_request]
jobs:
vita:
runs-on: ubuntu-latest
container:
image: vitasdk/vitasdk:latest
steps:
- uses: actions/checkout@v2
- name: Install CMake and GNU Make
run: |
apk update
apk add cmake make
shell: sh
- name: Configure CMake
run: cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
shell: sh
- name: Build
run: cmake --build build
shell: sh