update FreeBSD auto-build #30
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: MacOS X build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install dependencies | |
run: | | |
brew install libx11 libxi libxtst | |
- name: configure | |
run: ./configure | |
- name: build | |
run: make | |
- name: stage install | |
run: DESTDIR=spacenavd-macosx make install | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: spacenavd-macosx | |
path: spacenavd-macosx | |
build-nox11: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: configure | |
run: ./configure --disable-x11 | |
- name: build | |
run: make | |
- name: stage install | |
run: DESTDIR=spacenavd-macosx-nox11 make install | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: spacenavd-macosx-nox11 | |
path: spacenavd-macosx-nox11 | |
# vi:ts=2 sts=2 sw=2 expandtab: |