tmux/.github/workflows/ic.yml

72 lines
1.9 KiB
YAML
Raw Normal View History

2024-03-18 04:18:07 +00:00
name: Build and Test
2024-03-18 03:32:26 +00:00
2024-03-18 04:18:07 +00:00
on: [push, pull_request]
2024-03-18 03:32:26 +00:00
jobs:
2024-03-18 04:18:07 +00:00
build-and-test:
2024-03-18 03:32:26 +00:00
runs-on: ubuntu-latest
steps:
2024-03-18 04:18:07 +00:00
- uses: actions/checkout@v2
- name: Install dependencies for Linux
if: runner.os == 'Linux'
run: |
sudo apt-get update -qq
sudo apt-get -y install bison \
autotools-dev \
libncurses5-dev \
libevent-dev \
pkg-config \
libutempter-dev \
build-essential
if [ "${{ matrix.build }}" == "musl" ] || [ "${{ matrix.build }}" == "musl-static" ]; then
sudo apt-get -y install musl-dev \
musl-tools
fi
# Add steps for other operating systems if needed, similar to the Linux steps above.
2024-03-18 04:05:44 +00:00
2024-03-18 04:18:07 +00:00
- name: Build tmux
run: |
sh autogen.sh
./configure
make
2024-03-18 03:32:26 +00:00
2024-03-18 04:18:07 +00:00
# Add additional steps for running tests if applicable.
2024-03-20 02:40:32 +00:00
- name: Run Tests
run: |
sh am-terminal.sh
sh capture-pane-hyperlink.sh
sh capture-pane-sgr0.sh
sh combine-test.sh
sh command-order.sh
sh conf-syntax.sh
sh control-client-sanity.sh
sh control-client-size.sh
sh copy-mode-test-emacs.sh
sh copy-mode-test-vi.sh
sh cursor-test1.sh
sh cursor-test2.sh
sh cursor-test3.sh
sh cursor-test4.sh
sh format-strings.sh
sh has-session-return.sh
sh if-shell-error.sh
sh if-shell-nested.sh
sh if-shell-TERM.sh
sh input-key.sh
sh kill-session-process-exit.sh
sh new-session-base-index.sh
sh new-session-command.sh
sh new-session.envirnment.sh
sh new-session-no-client.sh
sh new-session-size.sh
sh new-window-command.sh
sh osc-11colours.sh
sh style-trim.sh
sh tty-keys.sh