Skip to content

Commit bf7cd90

Browse files
authored
[GITHUB] Add gcc-8.4.0.tar.xz fallback workaround for RosBE build script
ftpmirror.gnu.org is returning Gateway Timeout / Bad Gateway errors lately.
1 parent 5a71995 commit bf7cd90

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
echo march-sha=$(gcc -march=native -Q --help=target | sha1sum | awk '{print $1}') >> $GITHUB_OUTPUT
2727
echo git-sha=$(git ls-remote https://github.com/zefklop/RosBE.git | grep unix_amd64 | awk '{print $1}') >> $GITHUB_OUTPUT
2828
wget https://gist.githubusercontent.com/zefklop/b2d6a0b470c70183e93d5285a03f5899/raw/build_rosbe_ci.sh
29+
# Fallback for GNU file server problems.
30+
sed -i '/gcc-8.4.0\/gcc-8.4.0.tar.xz/c\wget https://ftpmirror.gnu.org/gcc/gcc-8.4.0/gcc-8.4.0.tar.xz || wget -L https://web.archive.org/web/2025if_/https://ftpmirror.gnu.org/gcc/gcc-8.4.0/gcc-8.4.0.tar.xz' ./build_rosbe_ci.sh
2931
- name: Get RosBE
3032
id: get_rosbe
3133
uses: actions/cache@v5

0 commit comments

Comments
 (0)