SDL/.github/workflows/vita.yaml

24 lines
524 B
YAML
Raw Normal View History

2021-08-21 16:10:37 +00:00
name: Build (Sony Playstation Vita)
on: [push, pull_request]
defaults:
run:
shell: sh
2021-08-21 16:10:37 +00:00
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
- name: Configure CMake
run: cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build