Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event loop without signal handlers (epoll/signalfd/timer_create) #35

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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
19 changes: 14 additions & 5 deletions .github/workflows/beep-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
pull_request:
branches: [ main, master ]

# Running without pandoc installed.

jobs:
build:

Expand All @@ -15,18 +17,25 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: create local.mk
- name: apt-get install
run: |
echo "prefix = ${PWD}/_root" > local.mk
sudo apt-get update
sudo apt-get install -y automake autoconf
- name: autoreconf
run: autoreconf -vis .
- name: configure
run: ./configure --prefix="${PWD}/_root"
- name: make
run: make
run: N="$(nproc||echo 2)"; make -j$N -l$N CFLAGS="-std=gnu11 -pedantic -Wall -Wextra -Werror"
- name: 'beep --help'
run: |
./beep --help > beep-usage.from--help
diff -u beep-usage.txt beep-usage.from--help
- name: 'make check'
run: make check
- name: 'make install-nobuild'
run: make install-nobuild
- name: 'make install'
run: make install
- name: 'list installed files'
run: (cd "$PWD/_root" && ls -l $(find . -type f | env LC_ALL=C sort) | nl)
- name: 'make distcheck'
run: make distcheck
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Files that should not be tracked by Git

# autoreconf
Makefile.in
/aclocal.m4
/auto-aux/
/auto-config.h.in
/autom4te.cache/
/configure

# configure
.deps/
Makefile
/auto-config.h
/config.log
/config.status
/stamp-h1

# The compiled executables
/beep
/*.clang
Expand Down Expand Up @@ -37,6 +53,7 @@
/tarball-git-dist/
/beep-*.tar.gz
/beep-*.tar.xz
/tests/run-tests

# Test results
/tests/*.actual.output.new
Expand Down
10 changes: 8 additions & 2 deletions Doxyfile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Doxyfile 1.9.1
# @configure_input@

# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
Expand Down Expand Up @@ -864,7 +865,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.

INPUT = .
INPUT = @abs_top_srcdir@

# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Expand Down Expand Up @@ -952,7 +953,6 @@ RECURSIVE = NO
# run.

EXCLUDE =
EXCLUDE += README.md

# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded
Expand All @@ -971,6 +971,12 @@ EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXCLUDE_PATTERNS += *-usage.c

# TODO: Make *.md file links work with both github.com and Doxygen.
EXCLUDE_PATTERNS += INSTALL.md
EXCLUDE_PATTERNS += PACKAGING.md
EXCLUDE_PATTERNS += PERMISSIONS.md
EXCLUDE_PATTERNS += README.md

# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the
# output. The symbol name can be a fully qualified name, a word, or if the
Expand Down
Loading