Skip to content

Add RETRO_ENVIRONMENT_GET_CORE_DATA example usage #16

Add RETRO_ENVIRONMENT_GET_CORE_DATA example usage

Add RETRO_ENVIRONMENT_GET_CORE_DATA example usage #16

Workflow file for this run

name: CI PS2
on:
push:
pull_request:
repository_dispatch:
types: [run_build]
jobs:
build-ps2:
runs-on: ubuntu-latest
container: ps2dev/ps2dev:latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
apk add build-base
- name: Get Information Variables
id: core
run: |
echo "info=$(echo test)" >> $GITHUB_OUTPUT
echo "platform=$(echo ps2)" >> $GITHUB_OUTPUT
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
- name: Compile test core
run: |
cd tests/test && make platform=${{ steps.core.outputs.platform }} clean all
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v3
with:
name: ${{ steps.core.outputs.info }}_libretro_${{ steps.core.outputs.platform }}-${{ steps.core.outputs.sha8 }}
path: tests/test/${{ steps.core.outputs.info }}_libretro_${{ steps.core.outputs.platform }}.a