]> git.ipfire.org Git - thirdparty/git.git/commit
ci: merge linux-gcc-default into linux-gcc
authorPatrick Steinhardt <ps@pks.im>
Wed, 22 Jan 2025 11:31:30 +0000 (12:31 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jan 2025 20:28:27 +0000 (12:28 -0800)
commit04c29bdea04e5af5193fd386b62a48c320351f19
treea03285ac2cbc6275c4c0214e38d500779a36b18a
parentc5bc9a7f94a41c3e719afebf4a6c3e04cba82e4d
ci: merge linux-gcc-default into linux-gcc

The "linux-gcc-default" job is mostly doing the same as the "linux-gcc"
job, except for a couple of minor differences:

  - We use an explicit GCC version instead of the default version
    provided by the distribution. We have other jobs that test with
    "gcc-8", making this distinction pointless.

  - We don't set up the Python version explicitly, and instead use the
    default Python version. Python 2 has been end-of-life for quite a
    while now though, making this distinction less interesting.

  - We set up the default branch name to be "main" in "linux-gcc". We
    have other testcases that don't and also some that explicitly use
    "master".

  - We use "ubuntu:20.04" in one job and "ubuntu:latest" in another. We
    already have a couple other jobs testing these respectively.

So overall, the job does not add much to our test coverage.

Drop the "linux-gcc-default" job and adapt "linux-gcc" to start using
the default GCC compiler, effectively merging those two jobs into one.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml
.gitlab-ci.yml
ci/lib.sh