Edit

kc3-lang/SDL/.github/workflows/vita.yaml

Branch :

  • Show log

    Commit

  • Author : Pierre Wendling
    Date : 2021-09-11 23:07:44
    Hash : 333ea51c
    Message : CI: Set default shell for Vita build. vitasdk image only comes with sh. Previously, the shell was mentioned on each run step.

  • .github/workflows/vita.yaml
  • name: Build (Sony Playstation Vita)
    
    on: [push, pull_request]
    
    defaults:
      run:
        shell: sh
    
    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