Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/full-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: full-check

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: install_dependencies
run: sudo apt install libncurses5-dev
- name: first_build
run: |
./autogen.sh
./configure
make
sudo make install
sudo make uninstall
make distclean
- name: second_build_to_test_build_twice
run: |
./autogen.sh
./configure
make
sudo make install
- name: run_hexedit_to_show_version
run: |
hexedit -v 2>&1 | grep maximize
4 changes: 4 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ install: $(PRODUCT)
$(INSTALL) -m 755 $(PRODUCT) $(DESTDIR)$(bindir)
$(INSTALL) -d -m 755 $(DESTDIR)$(mandir)/man1
$(INSTALL) -m 644 $(PRODUCT).1 $(DESTDIR)$(mandir)/man1

uninstall:
test -f $(DESTDIR)$(bindir)/$(PRODUCT) && rm -f $(DESTDIR)$(bindir)/$(PRODUCT)
test -f $(DESTDIR)$(mandir)/man1/$(PRODUCT).1 && rm -r $(DESTDIR)$(mandir)/man1/$(PRODUCT).1