diff --git a/.github/workflows/build_macosx.yml b/.github/workflows/build_macosx.yml new file mode 100644 index 0000000..277a782 --- /dev/null +++ b/.github/workflows/build_macosx.yml @@ -0,0 +1,34 @@ +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-instdir make install + + - uses: actions/upload-artifact@v3 + with: + name: spacenavd-instdir + path: spacenavd-instdir + +# vi:ts=2 sts=2 sw=2 expandtab: