mirror of
https://github.com/whyvl/wireproxy.git
synced 2025-04-29 19:01:42 +02:00
add windows arm64, darwin amd64 arm64 to ci
This commit is contained in:
parent
0feb8624fa
commit
33c5170bd0
1 changed files with 60 additions and 0 deletions
60
.github/workflows/build.yml
vendored
60
.github/workflows/build.yml
vendored
|
@ -28,6 +28,26 @@ jobs:
|
|||
with:
|
||||
name: WireProxy_windows_amd64
|
||||
path: release_windows_amd64
|
||||
windowsArm64Build:
|
||||
name: Build Windows arm64 Version
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setting up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17
|
||||
- name: Building Windows arm64 Version
|
||||
run: |
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -o WireProxy_arm64.exe -v ./cmd/wireproxy
|
||||
mkdir release_windows_arm64
|
||||
mv WireProxy_arm64.exe wireproxy.exe
|
||||
cp wireproxy.exe release_windows_arm64/wireproxy.exe
|
||||
- name: Upload Windows arm64 Version
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: WireProxy_windows_arm64
|
||||
path: release_windows_arm64
|
||||
linuxAmd64Build:
|
||||
name: Build Linux amd64 Version
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -88,3 +108,43 @@ jobs:
|
|||
with:
|
||||
name: WireProxy_linux_s390x
|
||||
path: release_linux_s390x
|
||||
darwinAmd64Build:
|
||||
name: Build Darwin amd64 Version
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setting up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17
|
||||
- name: Building Darwin amd64 Version
|
||||
run: |
|
||||
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o WireProxy_amd64 -v ./cmd/wireproxy
|
||||
mkdir release_darwin_amd64
|
||||
mv WireProxy_amd64 wireproxy
|
||||
cp wireproxy release_darwin_amd64/wireproxy
|
||||
- name: Upload Darwin amd64 Version
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: WireProxy_darwin_amd64
|
||||
path: release_darwin_amd64
|
||||
darwinArm64Build:
|
||||
name: Build Darwin arm64 Version
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setting up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17
|
||||
- name: Building Darwin arm64 Version
|
||||
run: |
|
||||
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o WireProxy_arm64 -v ./cmd/wireproxy
|
||||
mkdir release_darwin_arm64
|
||||
mv WireProxy_arm64 wireproxy
|
||||
cp wireproxy release_darwin_arm64/wireproxy
|
||||
- name: Upload Darwin arm64 Version
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: WireProxy_darwin_arm64
|
||||
path: release_darwin_arm64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue