2022-08-05 13:22:34 +02:00
|
|
|
name: CI Windows x64 (MXE)
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
repository_dispatch:
|
|
|
|
types: [run_build]
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2024-07-06 20:04:13 +02:00
|
|
|
env:
|
|
|
|
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
|
|
|
|
2022-08-05 13:22:34 +02:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2024-07-06 20:04:13 +02:00
|
|
|
container:
|
2022-08-05 13:22:34 +02:00
|
|
|
image: git.libretro.com:5050/libretro-infrastructure/libretro-build-mxe-win64-cross:gcc10
|
|
|
|
options: --user root
|
|
|
|
|
|
|
|
steps:
|
2024-11-27 12:43:07 +01:00
|
|
|
- uses: taiki-e/checkout-action@v1
|
2024-07-06 20:04:13 +02:00
|
|
|
|
2022-08-05 13:22:34 +02:00
|
|
|
- name: Compile RA
|
|
|
|
run: |
|
|
|
|
export MOC=/usr/lib/mxe/usr/x86_64-w64-mingw32.shared/qt5/bin/moc
|
|
|
|
./configure --host=x86_64-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)"
|