mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-08 03:06:19 +00:00
Update test.yml
This commit is contained in:
parent
a202a77232
commit
756417e0aa
1 changed files with 5 additions and 5 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -37,17 +37,17 @@ jobs:
|
||||||
if [ "${{ matrix.platform }}" == "arm64" ]; then
|
if [ "${{ matrix.platform }}" == "arm64" ]; then
|
||||||
export GOARCH=arm64
|
export GOARCH=arm64
|
||||||
export CC=aarch64-linux-gnu-gcc
|
export CC=aarch64-linux-gnu-gcc
|
||||||
elif [ "${{ matrix.platform }}" == "arm" ] {
|
elif [ "${{ matrix.platform }}" == "arm" ]; then
|
||||||
export GOARCH=arm
|
export GOARCH=arm
|
||||||
export GOARM=7
|
export GOARM=7
|
||||||
export CC=arm-linux-gnueabihf-gcc
|
export CC=arm-linux-gnueabihf-gcc
|
||||||
} elif [ "${{ matrix.platform }}" == "armv6l" ] {
|
elif [ "${{ matrix.platform }}" == "armv6l" ]; then
|
||||||
export GOARCH=arm
|
export GOARCH=arm
|
||||||
export GOARM=6
|
export GOARM=6
|
||||||
export CC=arm-linux-gnueabihf-gcc
|
export CC=arm-linux-gnueabihf-gcc
|
||||||
} else {
|
else
|
||||||
export GOARCH=${{ matrix.platform }}
|
export GOARCH=${{ matrix.platform }}
|
||||||
}
|
fi
|
||||||
go build -o xui-release -v main.go
|
go build -o xui-release -v main.go
|
||||||
|
|
||||||
mkdir x-ui
|
mkdir x-ui
|
||||||
|
@ -94,7 +94,7 @@ jobs:
|
||||||
- name: Package
|
- name: Package
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ matrix.platform }}" == "arm" ]; then
|
if [ "${{ matrix.platform }}" == "arm" ]; then
|
||||||
tar -zcvf x-ui-linux-arm32-v7a.tar.gz x-ui
|
tar -zcvf x-ui-linux-arm32-v7.tar.gz x-ui
|
||||||
elif [ "${{ matrix.platform }}" == "armv6l" ]; then
|
elif [ "${{ matrix.platform }}" == "armv6l" ]; then
|
||||||
tar -zcvf x-ui-linux-arm32-v6.tar.gz x-ui
|
tar -zcvf x-ui-linux-arm32-v6.tar.gz x-ui
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue