Don't ignore SIGCHLD. #182
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build/Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
matrix: | |
OS: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install autopoint, gettext, and cal for Linux (omit texinfo). | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt install autopoint gettext ncal | |
sudo apt remove texinfo | |
- name: Install autotools, gettext, and libssl for macOS (omit texinfo). | |
if: runner.os == 'macOS' | |
run: | | |
brew install m4 autoconf automake libtool gettext openssl | |
brew list texinfo && brew uninstall texinfo || true | |
brew unlink [email protected] && brew link --force --overwrite openssl@3 | |
- name: Configure ed for Linux. | |
if: runner.os == 'Linux' | |
run: | | |
./autogen.sh | |
./configure --enable-all-extensions --with-included-regex | |
- name: Configure ed for macOS. | |
if: runner.os == 'macOS' | |
run: | | |
./autogen.sh | |
./configure --enable-all-extensions --with-included-regex LDFLAGS=-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib | |
- name: Build ed. | |
run: | | |
make | |
- name: Build and run ed testsuite. | |
run: | | |
make check # || find testsuite/testsuite.dir -name '*.log' -exec cat {} \+ |