mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore: add loongarch64
build
This commit is contained in:
parent
e8a48d2f7e
commit
62c643d4fe
2 changed files with 5 additions and 1 deletions
1
.github/build/build_info.json
vendored
1
.github/build/build_info.json
vendored
|
@ -6,6 +6,7 @@
|
||||||
"arm6": {"arch": "armv5l", "abi": "eabihf", "name": "linux-arm32-v6"},
|
"arm6": {"arch": "armv5l", "abi": "eabihf", "name": "linux-arm32-v6"},
|
||||||
"arm7": {"arch": "armv7l", "abi": "eabihf", "name": "linux-arm32-v7a"},
|
"arm7": {"arch": "armv7l", "abi": "eabihf", "name": "linux-arm32-v7a"},
|
||||||
"arm64": {"arch": "aarch64", "name": "linux-arm64-v8a"},
|
"arm64": {"arch": "aarch64", "name": "linux-arm64-v8a"},
|
||||||
|
"loong64": {"arch": "loongarch64", "name": "linux-loong64"},
|
||||||
"riscv64": {"arch": "riscv64", "name": "linux-riscv64"},
|
"riscv64": {"arch": "riscv64", "name": "linux-riscv64"},
|
||||||
"mips64le": { "arch": "mips64el", "name": "linux-mips64le" },
|
"mips64le": { "arch": "mips64el", "name": "linux-mips64le" },
|
||||||
"mips64": { "arch": "mips64", "name": "linux-mips64" },
|
"mips64": { "arch": "mips64", "name": "linux-mips64" },
|
||||||
|
|
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -116,6 +116,8 @@ jobs:
|
||||||
# END Linux ARM 5 6 7
|
# END Linux ARM 5 6 7
|
||||||
- goos: linux
|
- goos: linux
|
||||||
goarch: riscv64
|
goarch: riscv64
|
||||||
|
- goos: linux
|
||||||
|
goarch: loong64
|
||||||
# BEGIN MIPS
|
# BEGIN MIPS
|
||||||
- goos: linux
|
- goos: linux
|
||||||
goarch: mips64
|
goarch: mips64
|
||||||
|
@ -155,10 +157,11 @@ jobs:
|
||||||
|
|
||||||
- name: Install musl cross compiler
|
- name: Install musl cross compiler
|
||||||
if: env.GOOS == 'linux'
|
if: env.GOOS == 'linux'
|
||||||
uses: 0xJacky/musl-cross-compilers@v0.6.6
|
uses: nginxui/musl-cross-compilers@v1
|
||||||
id: musl
|
id: musl
|
||||||
with:
|
with:
|
||||||
target: ${{ env.ARCH_NAME }}-linux-musl${{ env.ABI }}
|
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
|
- name: Post install musl cross compiler
|
||||||
if: env.GOOS == 'linux'
|
if: env.GOOS == 'linux'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue