mirror of https://github.com/encounter/SDL.git
CI: Set default shell for Vita build.
vitasdk image only comes with sh. Previously, the shell was mentioned on each run step.
This commit is contained in:
parent
1e6e9f364e
commit
333ea51cac
|
@ -2,6 +2,10 @@ name: Build (Sony Playstation Vita)
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: sh
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
vita:
|
vita:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -13,10 +17,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add cmake make
|
apk add cmake make
|
||||||
shell: sh
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
|
run: cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
|
||||||
shell: sh
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build
|
run: cmake --build build
|
||||||
shell: sh
|
|
||||||
|
|
Loading…
Reference in New Issue