Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(pr-build): ONLY keep arm64, amd64 as build targets #180

Merged
merged 7 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 2 additions & 34 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ jobs:
strategy:
matrix:
goos: [linux]
goarch: [arm64, 386, riscv64, mips64, mips64le, mipsle, mips]

goarch: [arm64,amd64]
include:
# BEGIN Linux ARM 5 6 7
- goos: linux
Expand All @@ -128,37 +127,6 @@ jobs:
goarch: arm
goarm: 5
# END Linux ARM 5 6 7

# BEGIN Linux AMD64 v1 v2 v3
- goos: linux
goarch: amd64
goamd64: v1
- goos: linux
goarch: amd64
goamd64: v2
- goos: linux
goarch: amd64
goamd64: v3
# END Linux AMD64 v1 v2 v3

# BEGIN Linux mips
- goos: linux
goarch: mips64
cgo_enabled: 1
cc: mips64-linux-gnuabi64-gcc
- goos: linux
goarch: mips64le
cgo_enabled: 1
cc: mips64el-linux-gnuabi64-gcc
- goos: linux
goarch: mipsle
cgo_enabled: 1
cc: mipsel-linux-gnu-gcc
- goos: linux
goarch: mips
cgo_enabled: 1
cc: mips-linux-gnu-gcc
# END Linux mips
fail-fast: false

env:
Expand Down Expand Up @@ -226,7 +194,7 @@ jobs:
curl -L -o ./bundled/geosite.dat https://github.com/v2rayA/dist-v2ray-rules-dat/raw/master/geosite.dat

- name: Smoking test
if: matrix.goarch == 'amd64' && matrix.goamd64 == 'v1'
if: matrix.goarch == 'amd64'
run: ./bundled/${{ steps.get_filename.outputs.BUNDLE_NAME }} --version

- name: Create binary ZIP archive and Signature
Expand Down
1 change: 1 addition & 0 deletions install/friendly-filenames.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"linux-amd64v1": { "friendlyName": "linux-x86_64" },
"linux-amd64v2": { "friendlyName": "linux-x86_64_v2_sse" },
"linux-amd64v3": { "friendlyName": "linux-x86_64_v3_avx2" },
"linux-amd64": { "friendlyName": "linux-x86_64" },
"linux-arm5": { "friendlyName": "linux-armv5" },
"linux-arm6": { "friendlyName": "linux-armv6" },
"linux-arm7": { "friendlyName": "linux-armv7" },
Expand Down