From d583b35717d3aa7084b94c306b587c32c88d67eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B8=E9=9B=8F=E5=A1=94=E8=8F=B2?= <108621198+taffychan@users.noreply.github.com> Date: Wed, 26 Oct 2022 19:29:27 +0800 Subject: [PATCH] Add s390x architecture support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update debug.yml Signed-off-by: 永雏塔菲 <108621198+taffychan@users.noreply.github.com> --- .github/workflows/debug.yml | 5 ++++- .github/workflows/docker.yml | 4 ++-- .goreleaser.yaml | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 558a814f..8fafff8c 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -149,6 +149,9 @@ jobs: - name: linux-mips64el goos: linux goarch: mips64le + - name: linux-s390x + goos: linux + goarch: s390x # darwin - name: darwin-amd64 goos: darwin @@ -213,4 +216,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: sing-box-${{ matrix.name }} - path: sing-box* \ No newline at end of file + path: sing-box* diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 047c3767..282f3a4d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,7 +37,7 @@ jobs: - name: Build and release Docker images uses: docker/build-push-action@v2 with: - platforms: linux/386,linux/amd64 + platforms: linux/386,linux/amd64,linux/arm64,linux/s390x target: dist tags: ${{ steps.tag.outputs.tag }} - push: true \ No newline at end of file + push: true diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 66162a57..f526ed47 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -25,6 +25,7 @@ builds: - linux_amd64_v3 - linux_arm64 - linux_arm_7 + - linux_s390x - windows_amd64_v1 - windows_amd64_v3 - windows_386