Skip to content

Commit

Permalink
Merge pull request #733 from 0xJacky/chore/loongarch64-build
Browse files Browse the repository at this point in the history
chore: add `loongarch64` build
  • Loading branch information
0xJacky authored Nov 17, 2024
2 parents e8a48d2 + 62c643d commit 44c86f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/build/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"arm6": {"arch": "armv5l", "abi": "eabihf", "name": "linux-arm32-v6"},
"arm7": {"arch": "armv7l", "abi": "eabihf", "name": "linux-arm32-v7a"},
"arm64": {"arch": "aarch64", "name": "linux-arm64-v8a"},
"loong64": {"arch": "loongarch64", "name": "linux-loong64"},
"riscv64": {"arch": "riscv64", "name": "linux-riscv64"},
"mips64le": { "arch": "mips64el", "name": "linux-mips64le" },
"mips64": { "arch": "mips64", "name": "linux-mips64" },
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ jobs:
# END Linux ARM 5 6 7
- goos: linux
goarch: riscv64
- goos: linux
goarch: loong64
# BEGIN MIPS
- goos: linux
goarch: mips64
Expand Down Expand Up @@ -155,10 +157,11 @@ jobs:
- name: Install musl cross compiler
if: env.GOOS == 'linux'
uses: 0xJacky/musl-cross-compilers@v0.6.6
uses: nginxui/musl-cross-compilers@v1
id: musl
with:
target: ${{ env.ARCH_NAME }}-linux-musl${{ env.ABI }}
variant: ${{ env.GOARCH == 'loong64' && 'userdocs/qbt-musl-cross-make' || 'richfelker/musl-cross-make' }}

- name: Post install musl cross compiler
if: env.GOOS == 'linux'
Expand Down

0 comments on commit 44c86f6

Please # to comment.