mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 10:03:42 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			282 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			282 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
set -eu -o pipefail
 | 
						|
 | 
						|
# Small convenience script for running the tests with various combinations of
 | 
						|
# arch/tags. This assumes we're running on amd64 and have qemu available.
 | 
						|
 | 
						|
go test ./...
 | 
						|
go test -tags purego ./...
 | 
						|
GOARCH=arm64 go test
 | 
						|
GOARCH=arm64 go test -tags purego
 |