Bump tensorflow from 1.15.4 to 2.12.1 in /model_tools/tools/tensorflow2caffe #271
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: macos-android-armv8 | |
on: [push, pull_request] | |
jobs: | |
linux: | |
name: macos-android-armv8 | |
runs-on: macos-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v2 | |
- name: compile android armv8 on macos | |
run: | | |
brew install gnu-getopt > /dev/null | |
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile | |
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile | |
source /Users/runner/.bash_profile | |
mkdir android_ndk && cd android_ndk | |
curl -o android-ndk-r20b-darwin-x86_64.zip 'https://dl.google.com/android/repository/android-ndk-r20b-darwin-x86_64.zip?hl=zh_cn' > /dev/null | |
unzip -o android-ndk-r20b-darwin-x86_64.zip > /dev/null | |
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b | |
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/darwin-x86_64/bin:$PATH | |
cd .. | |
chmod +x install.sh | |
./install.sh --target=android-aarch64 --gpu |