golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/windows/make.bash (about) 1 #!/bin/bash 2 3 # Copyright 2017 The Go Authors. All rights reserved. 4 # Use of this source code is governed by a BSD-style 5 # license that can be found in the LICENSE file. 6 7 set -e -u 8 9 declare -A public_images 10 11 public_images=( 12 ['server-2016-v8']='windows-server-2016-dc-core-v20220513' 13 ['server-2008r2-v8']='windows-server-2008-r2-dc-v20200114' 14 ['server-2012r2-v8']='windows-server-2012-r2-dc-core-v20220513' 15 ) 16 17 mkdir -p out 18 19 for image in "${!public_images[@]}"; do 20 prefix=$image 21 base_image=${public_images[$image]} 22 23 CAPTURE_IMAGE=true BASE_IMAGE="$base_image" IMAGE_PROJECT='windows-cloud' ./build.bash "$prefix" |& tee "out/${base_image}.txt" & 24 done 25 26 27 wait