Skip to content

Commit

Permalink
CI: upgrade GCC baseline from 4.8 -> 5.4
Browse files Browse the repository at this point in the history
GCC's baseline was changed from C++11 -> C++14 and GCC 4.8 -> GCC 5.4
in r15-4719-ga9ec1bc06bd3cc, so adjust the baseline CI job accordingly.

ChangeLog:
	* .github/workflows/ccpp.yml: Use GCC 5.4 instead of GCC 4.8.
  • Loading branch information
thesamesam committed Nov 22, 2024
1 parent eb1c8e4 commit 834cfd7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ jobs:
exit 0; \
fi
build-and-check-gcc-48:
build-and-check-gcc-54:

runs-on: ubuntu-22.04
container: ubuntu:18.04
Expand All @@ -291,10 +291,10 @@ jobs:
libmpfr-dev \
libmpc-dev \
build-essential \
gcc-4.8 \
g++-4.8 \
gcc-4.8-multilib \
g++-4.8-multilib \
gcc-5.6 \
g++-5.6 \
gcc-5.6-multilib \
g++-5.6-multilib \
dejagnu;
# install Rust directly using rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
Expand All @@ -307,8 +307,8 @@ jobs:
mkdir -p gccrs-build;
cd gccrs-build;
../configure \
CC='gcc-4.8' \
CXX='g++-4.8' \
CC='gcc-5.6' \
CXX='g++-5.6' \
--enable-languages=rust \
--disable-bootstrap \
--enable-multilib
Expand All @@ -328,7 +328,7 @@ jobs:
- name: Archive check-rust results
uses: actions/upload-artifact@v3
with:
name: check-rust-logs-4.8
name: check-rust-logs-5.6
path: |
gccrs-build/gcc/testsuite/rust/
Expand Down

0 comments on commit 834cfd7

Please sign in to comment.