Allow TCL 9.0 for tests (#1673)

Makes our tests possible to run with TCL 9.

The latest Fedora now has TCL 9.0 and it's working now, including the
TCL TLS package. (This wasn't working earlier due to some packaging
errors for TCL packages in Fedora, which have been fixed now.)

This PR also removes the custom compilation of TCL 8 used in our Daily
jobs and uses the system default TCL version instead. The TCL version
depends on the OS. For the latest Fedora, you get 9.0, for macOS you get
8.5 and for most other OSes you get 8.6.

The checks for TCL 8.7 are removed, because 8.7 doesn't exist. It was
never released.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
This commit is contained in:
Viktor Söderqvist
2025-10-08 11:37:15 +02:00
committed by GitHub
parent b3da88e94d
commit 3390b1e608
12 changed files with 17 additions and 58 deletions
+8 -10
View File
@@ -947,12 +947,10 @@ jobs:
run: dnf -y install epel-release
- name: make
run: |
dnf -y install gcc make procps-ng openssl-devel openssl which /usr/bin/kill /usr/bin/awk
dnf -y install gcc make procps-ng which /usr/bin/kill /usr/bin/awk
make -j SERVER_CFLAGS='-Werror'
- name: testprep
uses: ./.github/actions/rpm-distros-tcl8
with:
matrix_name: ${{ matrix.name }}
run: dnf -y install tcl tcltls
- name: test
if: true && !contains(github.event.inputs.skiptests, 'valkey')
run: ./runtest ${{ github.event_name != 'pull_request' && '--accurate' || '' }} --verbose --dump-logs ${{github.event.inputs.test_args}}
@@ -1018,9 +1016,9 @@ jobs:
dnf -y install make gcc openssl-devel openssl procps-ng which /usr/bin/kill /usr/bin/awk
make -j BUILD_TLS=module SERVER_CFLAGS='-Werror'
- name: testprep
uses: ./.github/actions/rpm-distros-tcl8
with:
matrix_name: ${{ matrix.name }}
run: |
dnf -y install tcl tcltls
./utils/gen-test-certs.sh
- name: test
if: true && !contains(github.event.inputs.skiptests, 'valkey')
run: |
@@ -1090,9 +1088,9 @@ jobs:
dnf -y install make gcc openssl-devel openssl procps-ng which /usr/bin/kill /usr/bin/awk
make -j BUILD_TLS=module SERVER_CFLAGS='-Werror'
- name: testprep
uses: ./.github/actions/rpm-distros-tcl8
with:
matrix_name: ${{ matrix.name }}
run: |
dnf -y install tcl tcltls
./utils/gen-test-certs.sh
- name: test
if: true && !contains(github.event.inputs.skiptests, 'valkey')
run: |