mirror of
https://github.com/tmux/tmux.git
synced 2024-11-13 23:58:51 +00:00
Test GitHub Actions workflow
This commit is contained in:
parent
67a4cf7955
commit
586150bfc4
@ -11,12 +11,26 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libevent-dev ncurses-dev gcc make pkg-config byacc autoconf automake
|
||||||
|
|
||||||
- name: Setup Environment
|
# Prepare for build (for version control source)
|
||||||
run: sudo apt-get update && sudo apt-get install -y <依赖包名称>
|
- name: Run autogen.sh (for version control)
|
||||||
|
run: |
|
||||||
|
sh autogen.sh || echo "Skipping autogen.sh for release tarball build"
|
||||||
|
|
||||||
- name: Build
|
# Configure and Build tmux
|
||||||
run: make
|
- name: Configure and Build tmux
|
||||||
|
run: |
|
||||||
|
./configure && make
|
||||||
|
|
||||||
- name: Test
|
# Optionally, include additional steps for testing or installation
|
||||||
run: make test
|
- name: Install tmux
|
||||||
|
run: |
|
||||||
|
sudo make install
|
||||||
|
|
||||||
|
# Add additional steps for running tests if applicable.
|
||||||
|
0
workflows/testfile_workflow
Normal file
0
workflows/testfile_workflow
Normal file
Loading…
Reference in New Issue
Block a user