Merge pull request #22 from chrstphrchvz/no-TCL_VARARGS #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
sudo apt-get update -qq | |
sudo apt-get install -y gcc-11 g++-11 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11 | |
sudo apt-get install -y tcl8.6-dev | |
- name: configure | |
run: | | |
autoreconf -vi | |
./configure --with-tcl=/usr/lib/tcl8.6 | |
- name: make | |
run: make | |
- name: check unit tests | |
continue-on-error: true | |
run: make test | |
- name: install | |
run: sudo make install | |