Skip to content

fix cmake & mingw detect cross-compilation on windows #12642

fix cmake & mingw detect cross-compilation on windows

fix cmake & mingw detect cross-compilation on windows #12642

Workflow file for this run

name: Ubuntu (Arm64)
on:
pull_request:
push:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-UbuntuArm64
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
with:
submodules: true
- run: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset
- uses: docker://multiarch/ubuntu-core:arm64-bionic
with:
args: >
bash -c
"uname -a &&
apt update && apt install -y unzip &&
cd /github/workspace &&
./scripts/get.sh __local__ &&
source ~/.xmake/profile &&
export XMAKE_ROOT=y &&
export XMAKE_TMPDIR=/tmp &&
xmake lua -v -D tests/run.lua && xrepo --version"