fix: always the slash #27
Annotations
1 error
Build and push
buildx failed with: ERROR: failed to solve: process "bash -ex -c . /etc/os-release\nmkdir -p /etc/apt/source.list.d\n# GCC version and repository\ncase ${ID} in\n debian)\n case ${VERSION_CODENAME} in\n bookworm) GCC=\"-12\" ;;\n trixie) GCC=\"-13\" ;;\n *) echo \"Unsupported VERSION_CODENAME=${VERSION_CODENAME}\" ; exit 1 ;;\n esac ;;\n ubuntu)\n echo \"deb http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu/${VERSION_CODENAME} main\" > /etc/apt/source.list.d/ubuntu-toolchain.list\n case ${VERSION_CODENAME} in\n focal) GCC=\"-10\" ;;\n jammy) GCC=\"-12\" ;;\n *) echo \"Unsupported VERSION_CODENAME=${VERSION_CODENAME}\" ; exit 1 ;;\n esac ;;\n *) echo \"Unsupported ID=${ID}\" ; exit 1 ;;\nesac\n# Clang version and repository\nCLANG=\"-16\"\ncurl -s https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -\nif [ ${VERSION_CODENAME} = trixie ] ; then\n echo \"deb http://apt.llvm.org/unstable llvm-toolchain${CLANG} main\" > /etc/apt/sources.list.d/llvm.list\nelse\n echo \"deb http://apt.llvm.org/${VERSION_CODENAME} llvm-toolchain-${VERSION_CODENAME}${CLANG} main\" > /etc/apt/sources.list.d/llvm.list\nfi\n# Install packages\napt-get -yqq update\napt-get -yqq install gcc${GCC} g++${GCC} gfortran${GCC}\napt-get -yqq install clang${CLANG} clang-tidy${CLANG} clang-format${CLANG} libclang${CLANG}-dev\napt-get -yqq autoremove\n# Ensure alternatives without version tags\nupdate-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp${GCC} 100\nupdate-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc${GCC} 100\nupdate-alternatives --install /usr/bin/g++ g++ /usr/bin/g++${GCC} 100\nupdate-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran${GCC} 100\nupdate-alternatives --install /usr/bin/clang clang /usr/bin/clang${CLANG} 100\nupdate-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++${CLANG} 100\nupdate-alternatives --install /usr/bin/clang-tidy-diff clang-tidy-diff /usr/bin/clang-tidy-diff${CLANG}.py 100\nupdate-alternatives --install /usr/bin/run-clang-tidy run-clang-tidy /usr/bin/run-clang-tidy${CLANG}.py 100\n# Default to gcc\nupdate-alternatives --install /usr/bin/cc cc /usr/bin/gcc 100\nupdate-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 100\n# Check versions\ngcc --version\nclang --version\n" did not complete successfully: exit code: 1
|
The logs for this run have expired and are no longer available.
Loading