mirror of
https://github.com/libretro/RetroArch.git
synced 2026-04-06 00:01:06 +08:00
These makefiles provide the info target that will print contents of each variable that is not printed (unless V=1, which is not the case here) on command invocation. Making this information available in the logs should help debugging, but it doesn't need to be printed on each command invocation.
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
name: CI PS2
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
repository_dispatch:
|
|
types: [run_build]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: git.libretro.com:5050/libretro-infrastructure/libretro-build-ps2:latest
|
|
options: --user root
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Compile Salamander
|
|
run: |
|
|
make -f Makefile.ps2.salamander -j$(getconf _NPROCESSORS_ONLN) clean
|
|
make -f Makefile.ps2.salamander -j$(getconf _NPROCESSORS_ONLN) release
|
|
|
|
- name: Compile RA
|
|
run: |
|
|
make -f Makefile.ps2 -j$(getconf _NPROCESSORS_ONLN) clean
|
|
make -f Makefile.ps2 -j$(getconf _NPROCESSORS_ONLN) HAVE_STATIC_DUMMY=1 info release
|
|
|
|
- name: Get short SHA
|
|
id: slug
|
|
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: RA-PS2-dummy-${{ steps.slug.outputs.sha8 }}
|
|
path: |
|
|
raboot.elf
|
|
retroarchps2.elf
|