Build on CI
This commit is contained in:
parent
bbe352dfff
commit
b2462cb255
26
.github/workflows/CI.yml
vendored
Normal file
26
.github/workflows/CI.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: PullRequest
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
buildTest:
|
||||
name: Build
|
||||
runs-on: macOS-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.3.4
|
||||
- name: Install Android SDK
|
||||
uses: malinskiy/action-android/install-sdk@release/0.1.0
|
||||
- name: Install prerequisite
|
||||
run: |
|
||||
brew install opencv@3
|
||||
brew install python
|
||||
python --version
|
||||
pip3 install --user six
|
||||
- name: Build project
|
||||
run: |
|
||||
export ANDROID_HOME=/Users/runner/Library/Android/sdk
|
||||
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk-bundle
|
||||
echo a | ./build_android_examples.sh
|
||||
- name: Show result
|
||||
run: git status
|
Loading…
Reference in New Issue
Block a user