SDL/.github/workflows/vita.yaml

23 lines
540 B
YAML
Raw Normal View History

2021-08-21 16:10:37 +00:00
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