mirror of
https://github.com/envmodules/modules.git
synced 2026-05-30 00:12:31 +08:00
gh: add new Linux test case for Tcl 9.0
This commit is contained in:
47
.github/workflows/linux_tests.yaml
vendored
47
.github/workflows/linux_tests.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user