CI: create and upload debian packages
parent
e6c1632609
commit
6d28c6e251
|
@ -37,6 +37,20 @@ jobs:
|
|||
ctest -V -C Debug -R tests-voxelutil$
|
||||
ctest -V -C Debug -R tests-voxelworld$
|
||||
ctest -V -C Debug -R tests-voxelworldrender$
|
||||
packages:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Linux
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install devscripts build-essential lintian libsdl2-dev postgresql-server-dev-10 libpq-dev libenet-dev qt5-default qttools5-dev qttools5-dev-tools opencl-c-headers wayland-protocols pkg-config uuid-dev
|
||||
debuild -b -ui -uc -us
|
||||
- name: Upload the artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: debian
|
||||
path: vengi*.deb
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
/.cproject
|
||||
/.clangd
|
||||
/.settings
|
||||
/*.deb
|
||||
/typescript
|
||||
gmon.out
|
||||
/*.sync
|
||||
|
|
|
@ -63,7 +63,7 @@ binary-indep: install-indep
|
|||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
dh_builddeb --destdir=.
|
||||
|
||||
binary-arch: DH_OPTIONS=-a
|
||||
binary-arch: install-arch
|
||||
|
@ -83,7 +83,7 @@ binary-arch: install-arch
|
|||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
dh_builddeb --destdir=.
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
|
|
Loading…
Reference in New Issue