ci : update spacemit toolchain url and enhance curl command (#23642)
* fix(action): update SpacemiT toolchain URL and version Change-Id: If4cc1c738a855274103f8c3ad52daa33528acd0c * fix(action): add -L flag to curl command for URL redirection Change-Id: I9b6c37390f0c7a733a36308c8fb53d22d234ab06
This commit is contained in:
@@ -15,6 +15,6 @@ runs:
|
|||||||
id: setup
|
id: setup
|
||||||
uses: ./.github/actions/unarchive-tar
|
uses: ./.github/actions/unarchive-tar
|
||||||
with:
|
with:
|
||||||
url: https://archive.spacemit.com/toolchain/spacemit-toolchain-linux-glibc-x86_64-v${{ inputs.version }}.tar.xz
|
url: https://github.com/spacemit-com/toolchain/releases/download/v${{ inputs.version }}/spacemit-toolchain-linux-glibc-x86_64-v${{ inputs.version }}.tar.xz
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
strip: 1
|
strip: 1
|
||||||
|
|||||||
@@ -24,4 +24,4 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p ${{ inputs.path }}
|
mkdir -p ${{ inputs.path }}
|
||||||
cd ${{ inputs.path }}
|
cd ${{ inputs.path }}
|
||||||
curl --no-progress-meter ${{ inputs.url }} | tar -${{ inputs.type }}x --strip-components=${{ inputs.strip }}
|
curl --no-progress-meter -L ${{ inputs.url }} | tar -${{ inputs.type }}x --strip-components=${{ inputs.strip }}
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ jobs:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
# Make sure this is in sync with build-cache.yml
|
# Make sure this is in sync with build-cache.yml
|
||||||
SPACEMIT_IME_TOOLCHAIN_VERSION: "1.1.2"
|
SPACEMIT_IME_TOOLCHAIN_VERSION: "1.2.4"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
1. Prepare Toolchain For RISCV
|
1. Prepare Toolchain For RISCV
|
||||||
~~~
|
~~~
|
||||||
wget https://archive.spacemit.com/toolchain/spacemit-toolchain-linux-glibc-x86_64-v1.1.2.tar.xz
|
wget https://github.com/spacemit-com/toolchain/releases/download/v1.2.4/spacemit-toolchain-linux-glibc-x86_64-v1.2.4.tar.xz
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
2. Build
|
2. Build
|
||||||
|
|||||||
Reference in New Issue
Block a user