diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d4f3e1c..c6d53c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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