shithub: psxe

ref: 7b79768480fb0826f4aecbb48657f66987fbb874
dir: /.github/workflows/ubuntu.yml/

View raw version
name: Ubuntu CI

on:
  push:
    branches: [ "master" ]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: 0
    - name: Install SDL2
      run: |
           sudo apt update
           sudo apt install libsdl2-dev
    - name: Build PSXE
      run: |
           git fetch --all --tags
           make
    - name: Pack executable
      run: |
           chmod +x ./bin/psxe
           mv ./bin/psxe ./
           tar -czf psxe-ubuntu-latest.tar.gz ./psxe
    - uses: actions/upload-artifact@v3
      with:
        name: psxe-ubuntu-latest
        path: ./psxe-ubuntu-latest.tar.gz