Skip to content

Commit e6340df

Browse files
pks-tgitster
authored andcommitted
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>
1 parent c6da408 commit e6340df

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ jobs:
269269
- jobname: linux-reftable
270270
cc: clang
271271
pool: ubuntu-latest
272-
- jobname: linux-gcc
272+
- jobname: linux-breaking-changes
273273
cc: gcc
274274
pool: ubuntu-20.04
275275
- jobname: linux-TEST-vars

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ test:linux:
4343
- jobname: linux-reftable
4444
image: ubuntu:latest
4545
CC: clang
46-
- jobname: linux-gcc
46+
- jobname: linux-breaking-changes
4747
image: ubuntu:20.04
4848
CC: gcc
4949
- jobname: linux-TEST-vars

ci/run-build-and-tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ esac
1313
run_tests=t
1414

1515
case "$jobname" in
16-
linux-gcc)
16+
linux-breaking-changes)
1717
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
18+
export WITH_BREAKING_CHANGES=YesPlease
1819
;;
1920
linux-TEST-vars)
2021
export GIT_TEST_SPLIT_INDEX=yes

0 commit comments

Comments
 (0)