Cordova 15 #196
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [pull_request] | |
jobs: | |
android: | |
runs-on: macos-11 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_13.0.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v1 | |
# Build tools 31.0.0 doesn't include dx (only d8), which Cordova expects to find. | |
# Uninstalling causes automatic build-tools resolution to fall back to an older | |
# version that does include dx. | |
- name: Workaround "Build-tool 31.0.0 is missing DX" error | |
run: bash $ANDROID_SDK_ROOT/tools/bin/sdkmanager --uninstall 'build-tools;31.0.0' | |
# Build tools 32.0.0 doesn't include dx (only d8), which Cordova expects to find. | |
# Uninstalling causes automatic build-tools resolution to fall back to an older | |
# version that does include dx. | |
- name: Workaround "Build-tool 32.0.0 is missing DX" error | |
run: bash $ANDROID_SDK_ROOT/tools/bin/sdkmanager --uninstall 'build-tools;32.0.0' | |
- name: Run CI | |
run: bash ./scripts/run_ci_tasks.sh -a | |
ios: | |
runs-on: macos-11 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run CI | |
run: bash ./scripts/run_ci_tasks.sh -i |