Files
tmuxinator/.github/workflows/ci.yaml
Andrew Kofink db861a077d chore: Add support for tmux 3.6a (#971)
See https://github.com/tmux/tmux/releases/tag/3.6a

Update the CI pipeline and list of supported tmux versions to include
tmux 3.6a

Signed-off-by: Andrew Kofink <ajkofink@gmail.com>
2025-12-06 09:40:02 -05:00

93 lines
2.2 KiB
YAML

# continuous integration workflow based on old travis-ci configuration
name: Integration Tests
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby_version:
- '3.4.5'
- '3.3.9'
- '3.2.9'
tmux_version:
- '3.6a'
- '3.6'
- '3.5a'
- '3.5'
- '3.4'
- '3.3a'
- '3.3'
- '3.2a'
- '3.2'
- '3.1c'
- '3.1b'
- '3.1a'
- '3.1'
- '3.0a'
- '3.0'
- '2.9a'
- '2.9'
- '2.8'
- '2.7'
- '2.6'
- '2.5'
- '2.4'
- '2.3'
- '2.2'
- '2.1'
- '2.0'
- '1.9'
- '1.8'
- '1.7'
- '1.6'
- '1.5'
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: "Install tmux ${{ matrix.tmux_version }}"
run: |
# build dependencies
sudo apt-get update -qq
# note: pkg-config must be installed before dep libs or the build fails
sudo apt-get install -y -qq pkg-config build-essential autoconf automake bison git
sudo apt-get install -y libevent-dev libncurses-dev
# build and install tmux
git clone https://github.com/tmux/tmux.git tmux
cd tmux
git checkout ${{ matrix.tmux_version }}
bash autogen.sh
bash ./configure && make && sudo make install
cd ..
tmux -V
- uses: actions/checkout@v6
- name: "Test ruby ${{ matrix.ruby_version }} tmux ${{ matrix.tmux_version }}"
run: |
bundle install
bundle exec rake test
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
carryforward: "run-3.3.5-1.5,run-3.3.5-2.6,run-3.3.5-3.5a"