Skip to content

Fix osx build

Fix osx build #74

Workflow file for this run

name: CI
on:
push:
pull_request:
repository_dispatch:
types: [run_build]
jobs:
build-ps2:
runs-on: ubuntu-latest
container: ps2dev/ps2dev:latest
steps:
- name: Install dependencies
run: |
apk add build-base git bash
- uses: actions/checkout@v2
- name: Compile project
run: |
make -f Makefile.libretro platform=ps2 -j$(nproc) clean && make -f Makefile.libretro platform=ps2 -j$(nproc)
- name: Get short SHA
id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: bluemsx_libretro_ps2-${{ steps.slug.outputs.sha8 }}
path: bluemsx_libretro_ps2.a