shithub: psxe

ref: 9046482bd047ddbc460ad9e4a18f9cc862731fac
dir: /.github/workflows/macos.yml/

View raw version
name: macOS CI

on:
  push:
    branches: [ "master" ]

jobs:
  build:
    runs-on: macos-latest

    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: 0
    - name: Install SDL2 and dylibbundler
      run: |
           brew install sdl2
           brew install dylibbundler
    - name: Build and pack PSXE
      run: |
           git fetch --all --tags
           ./build.sh
           tar -czf psxe-macos-latest.tar.gz psxe.app
    - uses: actions/upload-artifact@v3
      with:
        name: psxe-macos-latest
        path: ./psxe-macos-latest.tar.gz