-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from huawei-noah/v1.2.0_beta
V1.2.0 is released
- Loading branch information
Showing
1,088 changed files
with
56,221 additions
and
46,190 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: linux-android-armv7 | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux: | ||
name: linux-android-armv7 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile armv7 with llvm on linux | ||
run: | | ||
mkdir android_ndk && cd android_ndk | ||
wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip > /dev/null | ||
unzip -o android-ndk-r20b-linux-x86_64.zip > /dev/null | ||
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b | ||
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH | ||
cd .. | ||
./install.sh --target=android-armv7 -t 32 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: linux-android-armv8 | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux: | ||
name: linux-android-armv8 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile armv8 with llvm on linux | ||
run: | | ||
mkdir android_ndk && cd android_ndk | ||
wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip > /dev/null | ||
unzip -o android-ndk-r20b-linux-x86_64.zip > /dev/null | ||
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b | ||
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH | ||
cd .. | ||
./install.sh --target=android-aarch64 --mali |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: linux-android-x86_64 | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux: | ||
name: linux-android-x86_64 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile android x86_64 on linux | ||
run: | | ||
mkdir android_ndk && cd android_ndk | ||
wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip > /dev/null | ||
unzip -o android-ndk-r20b-linux-x86_64.zip > /dev/null | ||
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b | ||
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH | ||
cd .. | ||
./install.sh --target=android-x86_64 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: linux-x86-avx2 | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux: | ||
name: linux-x86-avx2 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile x86-avx2 on linux | ||
run: | | ||
./install.sh --target=linux-x86_64_avx2 -t 32 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: linux-x86 | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux: | ||
name: linux-x86 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile x86 on linux | ||
run: | | ||
./install.sh --target=linux-x86_64 -t 32 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: macos-android-armv7 | ||
on: [push, pull_request] | ||
jobs: | ||
linux: | ||
name: macos-android-armv7 | ||
runs-on: macos-latest | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile android armv7 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 .. | ||
./install.sh --target=android-armv7 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
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 .. | ||
./install.sh --target=android-aarch64 --mali |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: macos-android-x86_64 | ||
on: [push, pull_request] | ||
jobs: | ||
linux: | ||
name: macos-android-x86_64 | ||
runs-on: macos-latest | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile android x86_64 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 .. | ||
./install.sh --target=android-x86_64 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: macos-ios-armv7 | ||
on: [push, pull_request] | ||
jobs: | ||
linux: | ||
name: macos-ios-armv7 | ||
runs-on: macos-latest | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile ios armv7 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 | ||
export IOS_SDK_ROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk | ||
./install.sh --target=ios-armv7 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: macos-ios-armv8 | ||
on: [push, pull_request] | ||
jobs: | ||
linux: | ||
name: macos-ios-armv8 | ||
runs-on: macos-latest | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile ios 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 | ||
export IOS_SDK_ROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk | ||
./install.sh --target=ios-aarch64 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: macos-x86-avx2 | ||
on: [push, pull_request] | ||
jobs: | ||
linux: | ||
name: macos-x86-avx2 | ||
runs-on: macos-latest | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile x86-avx2 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 | ||
brew install gcc@9 > /dev/null | ||
BOLT_PATH=$(PWD) | ||
cd /usr/local/bin | ||
ln -s gcc-9 gcc | ||
ln -s g++-9 g++ | ||
gcc -v | ||
g++ -v | ||
cd $BOLT_PATH | ||
./install.sh --target=macos-x86_64_avx2 -t 32 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: macos-x86 | ||
on: [push, pull_request] | ||
jobs: | ||
linux: | ||
name: macos-x86 | ||
runs-on: macos-latest | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: compile x86 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 | ||
./install.sh --target=macos-x86_64 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: windows-android-armv7 | ||
on: [push, pull_request] | ||
jobs: | ||
windows-android-armv7: | ||
runs-on: windows-latest | ||
steps: | ||
- name: cancel-previous-runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: cache-wget | ||
id: cache-wget | ||
uses: actions/cache@v1 | ||
with: | ||
path: "wget-install" | ||
key: wget-windows-install | ||
- name: download wget | ||
run: | | ||
mkdir software && cd software | ||
mkdir wget && cd wget | ||
Invoke-WebRequest -Uri https://eternallybored.org/misc/wget/1.21.1/64/wget.exe -OutFile wget.exe > log.txt | ||
cd .. && mkdir android_ndk && cd android_ndk | ||
Invoke-WebRequest -Uri https://dl.google.com/android/repository/android-ndk-r20b-windows-x86_64.zip -OutFile android-ndk-r20b-windows-x86_64.zip > log.txt | ||
- name: compile android armv7 on windows | ||
run: | | ||
cd /d/a/bolt/bolt/software/android_ndk | ||
unzip -o android-ndk-r20b-windows-x86_64.zip > /dev/null | ||
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b | ||
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/windows-x86_64/bin:$PATH | ||
export PATH=$PATH:/d/a/bolt/bolt/software/wget | ||
cd /d/a/bolt/bolt | ||
./install.sh --target=android-armv7 | ||
shell: bash |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: windows-android-armv8 | ||
on: [push, pull_request] | ||
jobs: | ||
windows-android-armv8: | ||
runs-on: windows-latest | ||
steps: | ||
- name: cancel-previous-runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: cache-wget | ||
id: cache-wget | ||
uses: actions/cache@v1 | ||
with: | ||
path: "wget-install" | ||
key: wget-windows-install | ||
- name: download wget | ||
run: | | ||
mkdir software && cd software | ||
mkdir wget && cd wget | ||
Invoke-WebRequest -Uri https://eternallybored.org/misc/wget/1.21.1/64/wget.exe -OutFile wget.exe > log.txt | ||
cd .. && mkdir android_ndk && cd android_ndk | ||
Invoke-WebRequest -Uri https://dl.google.com/android/repository/android-ndk-r20b-windows-x86_64.zip -OutFile android-ndk-r20b-windows-x86_64.zip > log.txt | ||
- name: compile android-armv8 on windows | ||
run: | | ||
cd /d/a/bolt/bolt/software/android_ndk | ||
unzip -o android-ndk-r20b-windows-x86_64.zip > /dev/null | ||
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b | ||
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/windows-x86_64/bin:$PATH | ||
export PATH=$PATH:/d/a/bolt/bolt/software/wget | ||
cd /d/a/bolt/bolt | ||
./install.sh --target=android-aarch64 --mali | ||
shell: bash |
Oops, something went wrong.