Skip to content

Commit

Permalink
Remove gcc4 / gcc5 from nightly builds (#6659)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofTheo authored Jan 13, 2021
1 parent ea4c2c3 commit 6ca04be
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
cfg:
- {target: linux64, libs: 64gcc4}
- {target: linux64, libs: 64gcc6}
- {target: linuxarmv6l, libs: armv6l}
- {target: linuxarmv7l, libs: armv7l}
env:
Expand All @@ -26,15 +26,15 @@ jobs:
run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}};
- name: Install dependencies
run: ./scripts/ci/$TARGET/install.sh;
- name: Install gcc4
run: if [ ${{matrix.cfg.target}} = "64gcc4" ]; then
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;
sudo apt-get update -q;
sudo apt-get install gcc-4.9 g++-4.9;
fi
# - name: Install gcc4
# run: if [ ${{matrix.cfg.target}} = "64gcc4" ]; then
# sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;
# sudo apt-get update -q;
# sudo apt-get install gcc-4.9 g++-4.9;
# fi
- name: Build
run: if [ "$TARGET" = "linux64" ]; then
scripts/ci/$TARGET/build.sh
scripts/ci/$TARGET/build.sh;
scripts/ci/$TARGET/run_tests.sh;
else
scripts/ci/$TARGET/build.sh;
Expand Down
6 changes: 4 additions & 2 deletions scripts/ci/linux64/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ fi

sudo $OF_ROOT/scripts/linux/ubuntu/install_dependencies.sh -y;

sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get install gcc-4.9 g++-4.9
#sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
#sudo apt-get install gcc-4.9 g++-4.9

g++ -v

if [ "$OPT" = "qbs" ] && [ ! -d "$TRAVIS_BUILD_DIR/linuxbrew/.linuxbrew" ]; then
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
Expand Down
8 changes: 4 additions & 4 deletions scripts/dev/nightlybuilds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ if [ "$currenthash" = "$lasthash" ]; then
exit 0
fi

./create_package.sh linux64 $lastversion master gcc4
./create_package.sh linux64 $lastversion master gcc5
#./create_package.sh linux64 $lastversion master gcc4
#./create_package.sh linux64 $lastversion master gcc5
./create_package.sh linux64 $lastversion master gcc6
./create_package.sh msys2 $lastversion master mingw32
./create_package.sh msys2 $lastversion master mingw64
Expand All @@ -67,8 +67,8 @@ rm -f /var/www/versions/nightly/of_v*_nightly.*
mv *.tar.gz /var/www/versions/nightly
mv *.zip /var/www/versions/nightly

mv /var/www/versions/nightly/of_v${lastversion}_linux64gcc4_release.tar.gz /var/www/versions/nightly/of_v${lastversion}_linux64gcc4_nightly.tar.gz
mv /var/www/versions/nightly/of_v${lastversion}_linux64gcc5_release.tar.gz /var/www/versions/nightly/of_v${lastversion}_linux64gcc5_nightly.tar.gz
#mv /var/www/versions/nightly/of_v${lastversion}_linux64gcc4_release.tar.gz /var/www/versions/nightly/of_v${lastversion}_linux64gcc4_nightly.tar.gz
#mv /var/www/versions/nightly/of_v${lastversion}_linux64gcc5_release.tar.gz /var/www/versions/nightly/of_v${lastversion}_linux64gcc5_nightly.tar.gz
mv /var/www/versions/nightly/of_v${lastversion}_linux64gcc6_release.tar.gz /var/www/versions/nightly/of_v${lastversion}_linux64gcc6_nightly.tar.gz
mv /var/www/versions/nightly/of_v${lastversion}_msys2_mingw32_release.zip /var/www/versions/nightly/of_v${lastversion}_msys2_mingw32_nightly.zip
mv /var/www/versions/nightly/of_v${lastversion}_msys2_mingw64_release.zip /var/www/versions/nightly/of_v${lastversion}_msys2_mingw64_nightly.zip
Expand Down
4 changes: 2 additions & 2 deletions scripts/dev/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ git commit scripts/apothecary apps/projectGenerator -m"update submodules to late

cd $(cat ~/.ofprojectgenerator/config)/scripts/dev

./create_package.sh linux64 $version $branch gcc4
./create_package.sh linux64 $version $branch gcc5
#./create_package.sh linux64 $version $branch gcc4
#./create_package.sh linux64 $version $branch gcc5
./create_package.sh linux64 $version $branch gcc6
./create_package.sh linuxarmv6l $version $branch
./create_package.sh linuxarmv7l $version $branch
Expand Down

0 comments on commit 6ca04be

Please sign in to comment.