-
Notifications
You must be signed in to change notification settings - Fork 99
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 #402 from Tencent/release/v1.3.1
Release/v1.3.1
- Loading branch information
Showing
8 changed files
with
37 additions
and
30 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -132,20 +132,20 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
- name: Install rust toolchain | ||
run: rustup target add ${{ env.TARGET }} | ||
- name: Download OHOS NDK | ||
run: | | ||
wget https://repo.huaweicloud.com/openharmony/os/4.0-Release/ohos-sdk-windows_linux-public.tar.gz | ||
tar -xvzf ohos-sdk-windows_linux-public.tar.gz | ||
cd ohos-sdk/linux/ | ||
unzip -q native-linux-x64-4.0.10.13-Release.zip | ||
|
||
- name: Setup OpenHarmony SDK | ||
uses: openharmony-rs/[email protected] | ||
with: | ||
version: '4.1' | ||
|
||
- name: Setup Rust environment | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: stable | ||
target: 'aarch64-unknown-linux-ohos,armv7-unknown-linux-ohos,x86_64-unknown-linux-ohos' | ||
|
||
- name: Run cargo build | ||
run: | | ||
OHOS_NDK_HOME=${{ github.workspace }}/ohos-sdk/linux/ \ | ||
CC_aarch64_unknown_linux_ohos=${OHOS_NDK_HOME}/native/llvm/bin/clang \ | ||
AR_aarch64_unknown_linux_ohos=${OHOS_NDK_HOME}/native/llvm/bin/llvm-ar \ | ||
cargo build --target ${{ env.TARGET }} --verbose --features ffi --release | ||
run: cargo install ohrs && ohrs build -- --verbose --features ffi --release | ||
|
||
static_analysis: | ||
name: Static analysis | ||
|
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 |
---|---|---|
|
@@ -18,3 +18,5 @@ Cargo.lock | |
|
||
# Misc | ||
.DS_Store | ||
|
||
dist |
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 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 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 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