2022-08-05 20:43:37 +00:00
|
|
|
name: CI RetroFW MIPS32
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
repository_dispatch:
|
|
|
|
types: [run_build]
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2024-07-06 18:04:13 +00:00
|
|
|
env:
|
|
|
|
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
|
|
|
|
2022-08-05 20:43:37 +00:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2024-07-06 18:04:13 +00:00
|
|
|
container:
|
2022-08-05 20:43:37 +00:00
|
|
|
image: git.libretro.com:5050/libretro-infrastructure/libretro-build-dingux:odbeta
|
|
|
|
options: --user root
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2024-07-06 18:04:13 +00:00
|
|
|
|
2022-08-05 20:43:37 +00:00
|
|
|
- name: Compile RA
|
|
|
|
run: |
|
|
|
|
make -j$(getconf _NPROCESSORS_ONLN) -f Makefile.retrofw clean
|
|
|
|
make -j$(getconf _NPROCESSORS_ONLN) -f Makefile.retrofw
|
|
|
|
|
|
|
|
- name: Get short SHA
|
|
|
|
id: slug
|
|
|
|
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
|
2024-07-06 18:04:13 +00:00
|
|
|
|
2022-08-05 20:43:37 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: retroarch_retrofw_mips32${{ steps.slug.outputs.sha8 }}
|
|
|
|
path: |
|
|
|
|
retroarch_retrofw.opk
|