Add Switch/libnx workflow

This commit is contained in:
LibretroAdmin 2022-08-05 20:17:02 +02:00
parent 30bdd8b447
commit fa9f39c0ab
2 changed files with 36 additions and 2 deletions

View File

@ -1,4 +1,4 @@
name: CI ORBIS
name: CI PS4/ORBIS
on:
push:
@ -43,4 +43,4 @@ jobs:
- name: Version of binaries
run: |
clang --version
orbis-ld --version
orbis-ld --version

34
.github/workflows/Switch-libnx.yml vendored Normal file
View File

@ -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