enable extended buttons on magellan spacemice #34
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: GNU/Linux build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libx11-dev libxi-dev libxtst-dev | |
- name: configure | |
run: ./configure | |
- name: build | |
run: make | |
- name: stage install | |
run: DESTDIR=spacenavd-gnulinux make install | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: spacenavd-gnulinux | |
path: spacenavd-gnulinux | |
build-nox11: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: configure | |
run: ./configure --disable-x11 | |
- name: build | |
run: make | |
- name: stage install | |
run: DESTDIR=spacenavd-gnulinux-nox11 make install | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: spacenavd-gnulinux-nox11 | |
path: spacenavd-gnulinux-nox11 | |
# vi:ts=2 sts=2 sw=2 expandtab: |