Add Switch/libnx workflow
This commit is contained in:
parent
30bdd8b447
commit
fa9f39c0ab
|
@ -1,4 +1,4 @@
|
||||||
name: CI ORBIS
|
name: CI PS4/ORBIS
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
|
@ -0,0 +1,34 @@
|
||||||
|
name: CI Switch/libnx
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
repository_dispatch:
|
||||||
|
types: [run_build]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: git.libretro.com:5050/libretro-infrastructure/libretro-build-libnx-devkitpro:latest
|
||||||
|
options: --user root
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Compile RA
|
||||||
|
run: |
|
||||||
|
make -f Makefile.libnx -j$(getconf _NPROCESSORS_ONLN) clean
|
||||||
|
make -f Makefile.libnx -j$(getconf _NPROCESSORS_ONLN) HAVE_STATIC_DUMMY=1
|
||||||
|
- name: Get short SHA
|
||||||
|
id: slug
|
||||||
|
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: RA-libnx-dummy-${{ steps.slug.outputs.sha8 }}
|
||||||
|
path: |
|
||||||
|
retroarch_switch.nro
|
Loading…
Reference in New Issue