mirror of
https://github.com/libretro/RetroArch
synced 2025-01-06 01:02:15 +00:00
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
|
name: CI ORBIS
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
pull_request:
|
||
|
repository_dispatch:
|
||
|
types: [run_build]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
container: orbisdev/orbisdev:latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
apk add ncurses-dev make bash python2
|
||
|
apk add libintl icu-dev wget
|
||
|
wget https://dot.net/v1/dotnet-install.sh && chmod 755 dotnet-install.sh && ./dotnet-install.sh -c 3.0 --install-dir ~/cli
|
||
|
|
||
|
- name: Compile RA
|
||
|
run: |
|
||
|
export PATH=~/cli:$PATH # .net cli
|
||
|
make -f Makefile.orbis -j$(getconf _NPROCESSORS_ONLN) && make -f Makefile.orbis oelf eboot
|
||
|
|
||
|
- name: Get short SHA
|
||
|
id: slug
|
||
|
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
|
||
|
|
||
|
- uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
name: bin-${{ steps.slug.outputs.sha8 }}
|
||
|
path: |
|
||
|
retroarch_orbis.elf
|
||
|
homebrew.oelf
|
||
|
homebrew.self
|
||
|
|
||
|
|
||
|
- name: Version of binaries
|
||
|
run: |
|
||
|
clang --version
|
||
|
orbis-ld --version
|