From b9ff3f72bd32fd5afb890bd22ad2997159bace5f Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Sat, 11 Feb 2023 20:24:55 +0100 Subject: [PATCH] gh: add new Linux test case for Tcl 9.0 --- .github/workflows/linux_tests.yaml | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/.github/workflows/linux_tests.yaml b/.github/workflows/linux_tests.yaml index aeb807b0..9d45baed 100644 --- a/.github/workflows/linux_tests.yaml +++ b/.github/workflows/linux_tests.yaml @@ -332,3 +332,50 @@ jobs: modules.log install.log retention-days: 5 + + tcl90: + runs-on: ubuntu-22.04 + env: + CONFIGURE_OPTS: --with-tclsh=tclsh9.0 --prefix=/tmp/modules --with-tcl=/usr/local/lib + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Install system packages + run: | + sudo apt-get -y update + sudo apt-get install -y expect-dev dejagnu python3-sphinx bash tcsh ksh zsh fish perl python3 ruby cmake r-base-core + # libtclenvmodules build requirements + sudo apt-get install -y gcc autoconf + # manually install tcl9.0 + curl -L --output tcl9.0a3-src.tar.gz http://downloads.sourceforge.net/tcl/tcl9.0a3-src.tar.gz + tar xfz tcl9.0a3-src.tar.gz + cd tcl9.0a3/unix + ./configure + make -j + sudo make install + - name: Build Modules + run: | + ./configure $CONFIGURE_OPTS + make + - name: Test Modules build + run: | + make test-deps + script/mt + - name: Install Modules + run: | + make install + - name: Test Modules installation + run: | + script/mt install + - name: Uninstall Modules + run: | + make uninstall + - uses: actions/upload-artifact@v3 + if: failure() + with: + name: testsuite-logs-${{ github.job }} + path: | + modules.log + install.log + retention-days: 5