mirror of
https://github.com/libretro/libretro-samples.git
synced 2024-05-13 09:59:50 -04:00
commit
bce193bc1b
|
@ -1,4 +1,4 @@
|
|||
name: CI
|
||||
name: CI PS2
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -11,7 +11,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
container: ps2dev/ps2dev:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
@ -20,9 +20,9 @@ jobs:
|
|||
- name: Get Information Variables
|
||||
id: core
|
||||
run: |
|
||||
echo "::set-output name=info::$(echo test)"
|
||||
echo "::set-output name=platform::$(echo ps2)"
|
||||
echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
|
||||
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: |
|
||||
|
@ -30,7 +30,7 @@ jobs:
|
|||
|
||||
- name: Upload artifacts
|
||||
if: ${{ success() }}
|
||||
uses: actions/upload-artifact@v2
|
||||
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
|
36
.github/workflows/PS4.yml
vendored
Normal file
36
.github/workflows/PS4.yml
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
name: CI PS4
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
repository_dispatch:
|
||||
types: [run_build]
|
||||
|
||||
jobs:
|
||||
build-ps4:
|
||||
runs-on: ubuntu-latest
|
||||
container: orbisdev/orbisdev:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apk add ncurses-dev make bash python2 libstdc++
|
||||
|
||||
- name: Get Information Variables
|
||||
id: core
|
||||
run: |
|
||||
echo "info=$(echo test)" >> $GITHUB_OUTPUT
|
||||
echo "platform=$(echo orbis)" >> $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
|
Loading…
Reference in a new issue