From a30f256bb0d041b08d9f44cc46a89f497b2b8f84 Mon Sep 17 00:00:00 2001 From: LibretroAdmin <105389611+LibretroAdmin@users.noreply.github.com> Date: Fri, 5 Aug 2022 13:53:00 +0200 Subject: [PATCH] Create Windows-i686-MXE.yml --- .github/workflows/Windows-i686-MXE.yml | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/Windows-i686-MXE.yml diff --git a/.github/workflows/Windows-i686-MXE.yml b/.github/workflows/Windows-i686-MXE.yml new file mode 100644 index 0000000000..ee025257e5 --- /dev/null +++ b/.github/workflows/Windows-i686-MXE.yml @@ -0,0 +1,37 @@ +name: CI MXE Windows i686 + +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-mxe-win32-cross:gcc10 + options: --user root + + steps: + - uses: actions/checkout@v3 + + - name: Compile RA + run: | + export MOC=/usr/lib/mxe/usr/i686-w64-mingw32.shared/qt5/bin/moc + ./configure --host=i686-w64-mingw32.shared + make clean + make -j$(getconf _NPROCESSORS_ONLN) + + - 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: retroarch${{ steps.slug.outputs.sha8 }} + path: | + retroarch.exe