Skip to content

Commit 6a7bcbc

Browse files
authored
chore(loong64): update go to 1.25.0 for oldworld (#8)
* chore(loong64): update go to 1.25.0 for oldworld * Update ci.yml * update dist * feat(loong64): update gcc for oldworld
1 parent 985a2d7 commit 6a7bcbc

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup Go
7272
uses: actions/setup-go@v5
7373
with:
74-
go-version: '1.24.3'
74+
go-version: '1.25.0'
7575

7676
- name: Test Local Action
7777
id: test-action

dist/index.js

Lines changed: 10 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/engines/loongarch64.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { Input } from '../types'
55

66
const cwd = process.cwd()
77

8-
const oldWorldGoVersion = '1.24.3'
8+
const oldWorldGoVersion = '1.25.0'
99

1010
async function setupABI1_0Go(input: Input) {
1111
// Get major and minor version
12-
await $$`curl -H ${String.raw`Authorization: Bearer ${input.github_token}`} -fsSL --retry 3 https://github.com/loong64/loong64-abi1.0-toolchains/releases/download/20250722/go${oldWorldGoVersion}.linux-amd64.tar.gz -o go-loong64-abi1.0.tar.gz`
12+
await $$`curl -H ${String.raw`Authorization: Bearer ${input.github_token}`} -fsSL --retry 3 https://github.com/loong64/loong64-abi1.0-toolchains/releases/download/20250821/go${oldWorldGoVersion}.linux-amd64.tar.gz -o go-loong64-abi1.0.tar.gz`
1313
await $$`rm -rf go-loong64-abi1.0`
1414
await $$`mkdir go-loong64-abi1.0`
1515
await $$`tar -xzf go-loong64-abi1.0.tar.gz -C go-loong64-abi1.0 --strip-components=1`
@@ -18,7 +18,7 @@ async function setupABI1_0Go(input: Input) {
1818
}
1919

2020
async function setupABI1_0GCC(input: Input) {
21-
await $$`curl -H ${String.raw`Authorization: Bearer ${input.github_token}`} -fsSL --retry 3 https://github.com/loong64/loong64-abi1.0-toolchains/releases/download/20250722/loongson-gnu-toolchain-8.3.novec-x86_64-loongarch64-linux-gnu-rc1.1.tar.xz -o gcc8-loong64-abi1.0.tar.xz`
21+
await $$`curl -H ${String.raw`Authorization: Bearer ${input.github_token}`} -fsSL --retry 3 https://github.com/loong64/loong64-abi1.0-toolchains/releases/download/20250722/loongson-gnu-toolchain-8.3-x86_64-loongarch64-linux-gnu-rc1.6.tar.xz -o gcc8-loong64-abi1.0.tar.xz`
2222
await $$`rm -rf gcc8-loong64-abi1.0`
2323
await $$`mkdir gcc8-loong64-abi1.0`
2424
await $$`tar -Jxf gcc8-loong64-abi1.0.tar.xz -C gcc8-loong64-abi1.0 --strip-components=1`

0 commit comments

Comments
 (0)