tmux/.github/workflows/ic.yml

39 lines
912 B
YAML
Raw Normal View History

2024-03-18 03:36:21 +00:00
name: 'CI Tests'
2024-03-18 03:32:26 +00:00
on:
push:
2024-03-18 03:39:09 +00:00
branches: [ "master" ]
2024-03-18 03:32:26 +00:00
pull_request:
2024-03-18 03:39:09 +00:00
branches: [ "master" ]
2024-03-18 03:32:26 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2024-03-18 03:36:21 +00:00
- uses: dessant/lock-threads@v5
2024-03-18 03:32:26 +00:00
# Install dependencies
- name: Install dependencies
run: |
sudo apt-get update
2024-03-18 03:46:21 +00:00
sudo apt-get install automake
2024-03-18 03:32:26 +00:00
sudo apt-get install -y libevent-dev ncurses-dev gcc make pkg-config byacc autoconf automake
# Prepare for build (for version control source)
- name: Run autogen.sh (for version control)
run: |
2024-03-18 03:45:24 +00:00
sh autogen.sh
2024-03-18 03:46:21 +00:00
2024-03-18 03:32:26 +00:00
# Configure and Build tmux
- name: Configure and Build tmux
run: |
2024-03-18 03:41:50 +00:00
./configure --disable-utf8proc
make
2024-03-18 03:32:26 +00:00
# Optionally, include additional steps for testing or installation
- name: Install tmux
run: |
sudo make install
# Add additional steps for running tests if applicable.