-
Notifications
You must be signed in to change notification settings - Fork 31
36 lines (30 loc) · 1 KB
/
PS4.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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