File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4040 run : |
4141 sudo apt-get update
4242 if [ "${{ matrix.arch }}" == "arm64" ]; then
43- sudo apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross libstdc++-13-dev-arm64-cross libstdc++-12-dev-arm64-cross
43+ sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libc6-dev-arm64-cross $(if [ "${{ matrix.os }}" = "ubuntu24.04" ]; then echo " libstdc++-13-dev-arm64-cross"; fi) libstdc++-12-dev-arm64-cross
4444 elif [ "${{ matrix.arch }}" == "amd64" ]; then
4545 sudo apt-get install -y gcc-x86-64-linux-gnu libc6-dev-amd64-cross
4646 fi
5959 GOARCH : ${{ matrix.arch }}
6060 CGO_ENABLED : 1
6161 CC : ${{ matrix.arch == 'amd64' && 'x86_64-linux-gnu-gcc' || matrix.arch == 'arm64' && 'aarch64-linux-gnu-gcc' || '' }}
62+ CXX : ${{ matrix.arch == 'arm64' && 'aarch64-linux-gnu-g++' || '' }}
6263 GITHUB_TOKEN : ${{ steps.setup-github-token.outputs.access-token }}
6364 run : |
6465 VERSION="${{ github.ref_name }}"
You can’t perform that action at this time.
0 commit comments