diff options
| author | LuuuXXX <luuux98@163.com> | 2025-02-12 10:24:57 +0800 |
|---|---|---|
| committer | LuuuXXX <luuux98@163.com> | 2025-03-04 17:13:46 +0800 |
| commit | 6324b398735961c4636fd41d5044a196063d5efa (patch) | |
| tree | 8945f9e039ec53158fced3f0be74006534c8bc41 /src/ci/docker/scripts | |
| parent | fd17deacce374a4185c882795be162e17b557050 (diff) | |
| download | rust-6324b398735961c4636fd41d5044a196063d5efa.tar.gz rust-6324b398735961c4636fd41d5044a196063d5efa.zip | |
promote ohos targets to tier to with host tools
Diffstat (limited to 'src/ci/docker/scripts')
| -rw-r--r-- | src/ci/docker/scripts/ohos-openssl.sh | 7 | ||||
| -rwxr-xr-x | src/ci/docker/scripts/ohos-sdk.sh | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/src/ci/docker/scripts/ohos-openssl.sh b/src/ci/docker/scripts/ohos-openssl.sh new file mode 100644 index 00000000000..713ab6131e3 --- /dev/null +++ b/src/ci/docker/scripts/ohos-openssl.sh @@ -0,0 +1,7 @@ +#!/bin/sh +set -ex + +URL=https://github.com/ohos-rs/ohos-openssl/archive/refs/tags/0.1.0.tar.gz + +mkdir -p /opt/ohos-openssl +curl -fL $URL | tar xz -C /opt/ohos-openssl --strip-components=1 diff --git a/src/ci/docker/scripts/ohos-sdk.sh b/src/ci/docker/scripts/ohos-sdk.sh index 321be2b8697..0b62e49f7ca 100755 --- a/src/ci/docker/scripts/ohos-sdk.sh +++ b/src/ci/docker/scripts/ohos-sdk.sh @@ -1,9 +1,9 @@ #!/bin/sh set -ex -URL=https://repo.huaweicloud.com/openharmony/os/4.0-Release/ohos-sdk-windows_linux-public.tar.gz +URL=https://repo.huaweicloud.com/openharmony/os/5.0.0-Release/ohos-sdk-windows_linux-public.tar.gz -curl $URL | tar xz -C /tmp ohos-sdk/linux/native-linux-x64-4.0.10.13-Release.zip +curl $URL | tar xz -C /tmp linux/native-linux-x64-5.0.0.71-Release.zip mkdir /opt/ohos-sdk cd /opt/ohos-sdk -unzip -qq /tmp/ohos-sdk/linux/native-linux-x64-4.0.10.13-Release.zip +unzip -qq /tmp/linux/native-linux-x64-5.0.0.71-Release.zip |
