Skip to content

fix compile error on windows #396

fix compile error on windows

fix compile error on windows #396

Workflow file for this run

name: Android
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
- name: Prepare
run: |
wget -q https://dl.google.com/android/repository/android-ndk-r21-linux-x86_64.zip
unzip -q -o ./android-ndk-r21-linux-x86_64.zip
- name: Tests
run: |
xmake f -p android --ndk=`pwd`/android-ndk-r21
xmake -a