svc.c: added -w option to wait for service to be up #326
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: daemontools Ubuntu, Mac OSX CI | |
on: | |
push: | |
paths: | |
- '**/daemontools-x/**' | |
- .github/workflows/daemontools-c-cpp.yml | |
- '!**/daemontools-x/debian/*' | |
- '!**/daemontools-x/daemontools.spec.in' | |
- '!**/daemontools-x/*.9' | |
- '!**/daemontools-x/*.8' | |
- '!**/daemontools-x/*.1' | |
- '!**/doc/*' | |
- '!**.md' | |
workflow_dispatch: | |
jobs: | |
build: | |
name: ${{ matrix.host }}-${{ matrix.config.name }} | |
runs-on: ${{ matrix.host }} | |
strategy: | |
fail-fast: false | |
matrix: | |
host: [ubuntu-latest, macos-latest] | |
steps: | |
- name: extra_packages | |
run: if [ "${OS}" = "macos-latest" ]; then brew install automake autoconf libtool pkgconfig openssl; fi | |
env: | |
OS: ${{ matrix.host }} | |
- name: checkout_daemontools | |
uses: actions/checkout@v2 | |
with: | |
path: main | |
- name: checkout_qmail | |
uses: actions/checkout@v2 | |
with: | |
repository: mbhangui/libqmail | |
path: libqmail | |
- name: install_qmail | |
run: cd libqmail;env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.2/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.2/lib" ./default.configure; env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.2/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.2/lib" make; sudo make install-strip | |
- name: build_daemontools | |
run: cd main/daemontools-x; ./default.configure; ./qmake |