diff --git a/.github/workflows/Orbis.yml b/.github/workflows/PS4-ORBIS.yml similarity index 95% rename from .github/workflows/Orbis.yml rename to .github/workflows/PS4-ORBIS.yml index bb09cf871f..85e3f59b89 100644 --- a/.github/workflows/Orbis.yml +++ b/.github/workflows/PS4-ORBIS.yml @@ -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 \ No newline at end of file + orbis-ld --version diff --git a/.github/workflows/Switch-libnx.yml b/.github/workflows/Switch-libnx.yml new file mode 100644 index 0000000000..d3041f8244 --- /dev/null +++ b/.github/workflows/Switch-libnx.yml @@ -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