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>
maint
Patrick Steinhardt 2025-01-22 12:31:31 +01:00 committed by Junio C Hamano
parent 04c29bdea0
commit 4b5073c64b
3 changed files with 4 additions and 3 deletions

View File

@ -269,7 +269,7 @@ jobs:
- jobname: linux-reftable
cc: clang
pool: ubuntu-latest
- jobname: linux-gcc
- jobname: linux-breaking-changes
cc: gcc
pool: ubuntu-20.04
- jobname: linux-TEST-vars

View File

@ -43,7 +43,7 @@ test:linux:
- jobname: linux-reftable
image: ubuntu:latest
CC: clang
- jobname: linux-gcc
- jobname: linux-breaking-changes
image: ubuntu:20.04
CC: gcc
- jobname: linux-TEST-vars

View File

@ -13,8 +13,9 @@ esac
run_tests=t

case "$jobname" in
linux-gcc)
linux-breaking-changes)
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export WITH_BREAKING_CHANGES=YesPlease
;;
linux-TEST-vars)
export GIT_TEST_SPLIT_INDEX=yes