kopia lustrzana https://github.com/FreeSpacenav/spnavcfg
added github automated build files
rodzic
e14ef7cb56
commit
9caaf99e9d
|
@ -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:
|
|
@ -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:
|
|
@ -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:
|
Ładowanie…
Reference in New Issue