ci: repurpose "linux-gcc" job for deprecations

The "linux-gcc" job isn't all that interesting by itself and can be considered more or less the "standard" job: it is running with a reasonably up-to-date image and uses GCC as a compiler, both of which we already cover in other jobs. There is one exception though: we change the default branch to be "main" instead of "master", so it is forging ahead a bit into the future to make sure that this change does not cause havoc. So let's expand on this a bit and also add the new "WITH_BREAKING_CHANGES" flag to the mix. Rename the job to "linux-breaking-changes" accordingly. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Patrick Steinhardt committed Jan 22, 2025 at 12:31 UTC 4b5073c64b6e4180dcf1bed09c6fdd52cd1b2d21
3 files changed +4 -3
.github/workflows/main.yml
+1 -1
@@ -269,7 +269,7 @@ jobs:
269 - jobname: linux-reftable
270 cc: clang
271 pool: ubuntu-latest
272 - - jobname: linux-gcc
272 + - jobname: linux-breaking-changes
273 cc: gcc
274 pool: ubuntu-20.04
275 - jobname: linux-TEST-vars
.gitlab-ci.yml
+1 -1
@@ -43,7 +43,7 @@ test:linux:
43 - jobname: linux-reftable
44 image: ubuntu:latest
45 CC: clang
46 - - jobname: linux-gcc
46 + - jobname: linux-breaking-changes
47 image: ubuntu:20.04
48 CC: gcc
49 - jobname: linux-TEST-vars
ci/run-build-and-tests.sh
+2 -1
@@ -13,8 +13,9 @@ esac
13 run_tests=t
14
15 case "$jobname" in
16 -linux-gcc)
16 +linux-breaking-changes)
17 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
18 + export WITH_BREAKING_CHANGES=YesPlease
19 ;;
20 linux-TEST-vars)
21 export GIT_TEST_SPLIT_INDEX=yes