From 50d89829431f3c3351c41da9c7aaeb6872ece4b5 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Sun, 19 Sep 2021 01:26:57 +0200 Subject: [PATCH] [ORBIS] Add CI to GitHub Actions --- .github/workflows/Orbis.yml | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/Orbis.yml diff --git a/.github/workflows/Orbis.yml b/.github/workflows/Orbis.yml new file mode 100644 index 0000000000..393b49342f --- /dev/null +++ b/.github/workflows/Orbis.yml @@ -0,0 +1,43 @@ +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 \ No newline at end of file