RetroArch/.github/workflows/Orbis.yml

46 lines
1.1 KiB
YAML
Raw Normal View History

2021-09-18 23:26:57 +00:00
name: CI ORBIS
on:
push:
pull_request:
repository_dispatch:
types: [run_build]
permissions:
contents: read
2021-09-18 23:26:57 +00:00
jobs:
build:
runs-on: ubuntu-latest
container: orbisdev/orbisdev:latest
steps:
- uses: actions/checkout@v3
2021-09-18 23:26:57 +00:00
- 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) HAVE_STATIC_DUMMY=1 && make -f Makefile.orbis oelf eboot
2021-09-18 23:26:57 +00:00
- name: Get short SHA
id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- uses: actions/upload-artifact@v3
2021-09-18 23:26:57 +00:00
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