👷 取消对 mips64 的打包
This commit is contained in:
		
							parent
							
								
									94c4a3ef61
								
							
						
					
					
						commit
						f294b655a2
					
				@ -3,8 +3,6 @@ before:
 | 
				
			|||||||
    - go mod tidy -v
 | 
					    - go mod tidy -v
 | 
				
			||||||
builds:
 | 
					builds:
 | 
				
			||||||
  - id: nezha-agent
 | 
					  - id: nezha-agent
 | 
				
			||||||
    ldflags:
 | 
					 | 
				
			||||||
      - -s -w
 | 
					 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
      - CGO_ENABLED=0
 | 
					      - CGO_ENABLED=0
 | 
				
			||||||
    goos:
 | 
					    goos:
 | 
				
			||||||
@ -17,7 +15,7 @@ builds:
 | 
				
			|||||||
      - 386
 | 
					      - 386
 | 
				
			||||||
      - amd64
 | 
					      - amd64
 | 
				
			||||||
      - mips
 | 
					      - mips
 | 
				
			||||||
      - mips64
 | 
					      #- mips64
 | 
				
			||||||
    gomips:
 | 
					    gomips:
 | 
				
			||||||
      - softfloat
 | 
					      - softfloat
 | 
				
			||||||
    ignore:
 | 
					    ignore:
 | 
				
			||||||
@ -27,9 +25,15 @@ builds:
 | 
				
			|||||||
        goarch: arm64
 | 
					        goarch: arm64
 | 
				
			||||||
    main: ./cmd/agent
 | 
					    main: ./cmd/agent
 | 
				
			||||||
    binary: nezha-agent
 | 
					    binary: nezha-agent
 | 
				
			||||||
 | 
					    # 为路由器、开发板缩小二进制体积
 | 
				
			||||||
 | 
					    asmflags:
 | 
				
			||||||
 | 
					      - all=-trimpath={{.Env.GOPATH}}
 | 
				
			||||||
 | 
					    gcflags:
 | 
				
			||||||
 | 
					      - all=-trimpath={{.Env.GOPATH}}
 | 
				
			||||||
 | 
					    ldflags:
 | 
				
			||||||
 | 
					      - -s -w
 | 
				
			||||||
    hooks:
 | 
					    hooks:
 | 
				
			||||||
      post:
 | 
					      post:
 | 
				
			||||||
        # 为路由器、开发板缩小二进制体积
 | 
					 | 
				
			||||||
        - upx --best "{{.Path}}"
 | 
					        - upx --best "{{.Path}}"
 | 
				
			||||||
checksum:
 | 
					checksum:
 | 
				
			||||||
  name_template: "checksums.txt"
 | 
					  name_template: "checksums.txt"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user