You've already forked speedtest-go
							
							Fix windows/arm64 build
This commit is contained in:
		@@ -34,6 +34,10 @@ builds:
 | 
				
			|||||||
    ignore:
 | 
					    ignore:
 | 
				
			||||||
      - goos: darwin
 | 
					      - goos: darwin
 | 
				
			||||||
        goarch: 386
 | 
					        goarch: 386
 | 
				
			||||||
 | 
					      - goos: windows
 | 
				
			||||||
 | 
					        goarch: arm
 | 
				
			||||||
 | 
					      - goos: windows
 | 
				
			||||||
 | 
					        goarch: arm64
 | 
				
			||||||
    hooks:
 | 
					    hooks:
 | 
				
			||||||
      post: upx -9 "{{ .Path }}"
 | 
					      post: upx -9 "{{ .Path }}"
 | 
				
			||||||
  - main: ./main.go
 | 
					  - main: ./main.go
 | 
				
			||||||
@@ -62,7 +66,7 @@ builds:
 | 
				
			|||||||
      - hardfloat
 | 
					      - hardfloat
 | 
				
			||||||
      - softfloat
 | 
					      - softfloat
 | 
				
			||||||
  - main: ./main.go
 | 
					  - main: ./main.go
 | 
				
			||||||
  id: speedtest-backend-noupx
 | 
					    id: speedtest-backend-noupx-linux
 | 
				
			||||||
    binary: speedtest-backend
 | 
					    binary: speedtest-backend
 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
      - CGO_ENABLED=0
 | 
					      - CGO_ENABLED=0
 | 
				
			||||||
@@ -78,6 +82,24 @@ builds:
 | 
				
			|||||||
    gomips:
 | 
					    gomips:
 | 
				
			||||||
      - hardfloat
 | 
					      - hardfloat
 | 
				
			||||||
      - softfloat
 | 
					      - softfloat
 | 
				
			||||||
 | 
					  - main: ./main.go
 | 
				
			||||||
 | 
					    id: speedtest-backend-noupx-windows-arm64
 | 
				
			||||||
 | 
					    binary: speedtest-backend
 | 
				
			||||||
 | 
					    env:
 | 
				
			||||||
 | 
					      - CGO_ENABLED=0
 | 
				
			||||||
 | 
					    flags:
 | 
				
			||||||
 | 
					      - -trimpath
 | 
				
			||||||
 | 
					    ldflags:
 | 
				
			||||||
 | 
					      - -w -s
 | 
				
			||||||
 | 
					    goos:
 | 
				
			||||||
 | 
					      - windows
 | 
				
			||||||
 | 
					    goarch:
 | 
				
			||||||
 | 
					      - arm
 | 
				
			||||||
 | 
					      - arm64
 | 
				
			||||||
 | 
					    goarm:
 | 
				
			||||||
 | 
					      - 5
 | 
				
			||||||
 | 
					      - 6
 | 
				
			||||||
 | 
					      - 7
 | 
				
			||||||
archives:
 | 
					archives:
 | 
				
			||||||
  - format_overrides:
 | 
					  - format_overrides:
 | 
				
			||||||
      - goos: windows
 | 
					      - goos: windows
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user