-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: FreeBSD build | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macos-12 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: FreeBSD build | ||
uses: vmactions/freebsd-vm@v0 | ||
with: | ||
prepare: | | ||
pkg install -y git gmake libX11 qt5-core qt5-gui qt5-widgets qt5-buildtools pkgconf | ||
git clone https://github.com/FreeSpacenav/libspnav | ||
cd libspnav | ||
./configure | ||
gmake | ||
gmake install | ||
run: | | ||
./configure | ||
gmake UIC=uic-qt5 MOC=moc-qt5 RCC=rcc-qt5 | ||
gmake DESTDIR=spnavcfg-freebsd install | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: spnavcfg-freebsd | ||
path: spnavcfg-freebsd | ||
|
||
# vi:ts=2 sts=2 sw=2 expandtab: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
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 qtbase5-dev | ||
git clone https://github.com/FreeSpacenav/libspnav | ||
cd libspnav | ||
./configure | ||
make | ||
sudo make install | ||
- name: configure | ||
run: ./configure | ||
|
||
- name: build | ||
run: make | ||
|
||
- name: stage install | ||
run: DESTDIR=spnavcfg-gnulinux make install | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: spnavcfg-gnulinux | ||
path: spnavcfg-gnulinux | ||
|
||
# vi:ts=2 sts=2 sw=2 expandtab: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
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 qt@5 | ||
brew link qt@5 --force | ||
git clone https://github.com/FreeSpacenav/libspnav | ||
cd libspnav | ||
./configure | ||
make | ||
sudo make install | ||
- name: configure | ||
run: ./configure | ||
|
||
- name: build | ||
run: make | ||
|
||
- name: stage install | ||
run: DESTDIR=spnavcfg-macosx make install | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: spnavcfg-macosx | ||
path: spnavcfg-macosx | ||
|
||
# vi:ts=2 sts=2 sw=2 expandtab: |