File tree Expand file tree Collapse file tree 7 files changed +10
-21
lines changed Expand file tree Collapse file tree 7 files changed +10
-21
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ jobs:
2020 DROPGZ_VERSION : v0.0.12
2121 DEBUG : $[ coalesce(variables['System.Debug'], 'False') ]
2222 ob_outputDirectory : $(Build.ArtifactStagingDirectory)
23+ LinuxContainerImage : ' onebranch.azurecr.io/linux/ubuntu-2204:latest'
2324 ${{ if eq(job_data.job, 'linux_amd64') }} :
24- LinuxContainerImage : ' onebranch.azurecr.io/linux/ubuntu-2204:latest'
2525 OS : linux
2626 ARCH : amd64
2727 GOOS : linux
2828 GOARCH : amd64
2929 ${{ elseif eq(job_data.job, 'windows_amd64') }} :
30- LinuxContainerImage : ' onebranch.azurecr.io/linux/ubuntu-2204:latest '
31- OS : windows
30+ ob_enable_qemu : true
31+ OS : linux
3232 ARCH : amd64
3333 GOOS : windows
3434 GOARCH : amd64
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -eux
33
4- [[ $OS =~ windows ]] && FILE_EXT=' .exe' || FILE_EXT=' '
4+ [[ $GOOS =~ windows ]] && FILE_EXT=' .exe' || FILE_EXT=' '
55
6- export GOOS=$OS
7- export GOARCH=$ARCH
86export CGO_ENABLED=0
97
108mkdir -p " $OUT_DIR " /bin
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -eux
33
4- [[ $OS =~ windows ]] && FILE_EXT=' exe' || FILE_EXT=' bin'
4+ [[ $GOOS =~ windows ]] && FILE_EXT=' exe' || FILE_EXT=' bin'
55
66mkdir -p " $OUT_DIR " /files
77mkdir -p " $OUT_DIR " /bin
88
9- export GOOS=$OS
10- export GOARCH=$ARCH
119export CGO_ENABLED=0
1210
1311
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -eux
33
4- [[ $OS =~ windows ]] && FILE_EXT=' .exe' || FILE_EXT=' '
4+ [[ $GOOS =~ windows ]] && FILE_EXT=' .exe' || FILE_EXT=' '
55
6- export GOOS=$OS
7- export GOARCH=$ARCH
86export CGO_ENABLED=0
97
108mkdir -p " $OUT_DIR " /files
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -eux
33
4- [[ $OS =~ windows ]] && FILE_EXT=' .exe' || FILE_EXT=' '
4+ [[ $GOOS =~ windows ]] && FILE_EXT=' .exe' || FILE_EXT=' '
55
6- export GOOS=$OS
7- export GOARCH=$ARCH
86export CGO_ENABLED=0
97
108mkdir -p " $GEN_DIR "
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -eux
33
4- [[ $OS =~ windows ]] && FILE_EXT=' .exe' || FILE_EXT=' '
4+ [[ $GOOS =~ windows ]] && FILE_EXT=' .exe' || FILE_EXT=' '
55
6- export GOOS=$OS
7- export GOARCH=$ARCH
86export CGO_ENABLED=0
97export C_INCLUDE_PATH=/usr/include/bpf
108
@@ -20,6 +18,7 @@ if [[ -f /etc/debian_version ]];then
2018
2119 ARCH=x86_64-linux-gnu
2220 cp /usr/lib/" $ARCH " /ld-linux-x86-64.so.2 " $OUT_DIR " /lib/
21+ cp /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1 " $OUT_DIR " /lib/ || echo " Skipped."
2322
2423 elif [[ $ARCH =~ arm64 ]]; then
2524 apt-get install -y gcc-aarch64-linux-gnu
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -eux
33
4- [[ $OS =~ windows ]] && FILE_EXT=' .exe' || FILE_EXT=' '
4+ [[ $GOOS =~ windows ]] && FILE_EXT=' .exe' || FILE_EXT=' '
55
6- export GOOS=$OS
7- export GOARCH=$ARCH
86export CGO_ENABLED=0
97
108mkdir -p " $OUT_DIR " /files
You can’t perform that action at this time.
0 commit comments