make control socket more robust and support larger messages #89
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
linux-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install dependencies | |
run: sudo apt-get install -y libx11-dev libxft-dev libxrandr-dev libxtst-dev libxres-dev | |
- name: install clang-tools for make regress | |
run: sudo apt-get install -y clang-tools | |
- name: make | |
run: make | |
- name: scan-build | |
run: make regress | |
- name: test install with DESTDIR | |
run: sudo make install DESTDIR=/usr/gooses; size /usr/gooses/usr/local/bin/sdorfehs | |
openbsd-build: | |
runs-on: macos-12 | |
steps: | |
- name: Bootstrap OpenBSD 7.0 | |
uses: mario-campos/emulate@v1 | |
with: | |
operating-system: openbsd-7.0 | |
- name: Build | |
run: | | |
echo "installing xbase (XXX: remove this when image is updated)" | |
ftp -o - https://cdn.openbsd.org/pub/OpenBSD/7.0/amd64/xbase70.tgz | tar -C / -xzpf - | |
echo "installing xshare (XXX: remove this when image is updated)" | |
ftp -o - https://cdn.openbsd.org/pub/OpenBSD/7.0/amd64/xshare70.tgz | tar -C / -xzpf - | |
git clone "${{ github.server_url }}/${{ github.repository }}" build | |
cd build | |
[ "${{ github.event.pull_request.number }}" = "" ] || (echo "fetching PR ${{ github.event.pull_request.number }}"; git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-${{ github.event.pull_request.number }} && git checkout "pr-${{ github.event.pull_request.number }}") | |
echo "building" | |
make |