feat(ci): try install deb in ubuntu ci
This commit is contained in:
parent
5080a499ea
commit
338aa646b9
4
.github/workflows/ubuntu.yml
vendored
4
.github/workflows/ubuntu.yml
vendored
|
@ -18,6 +18,10 @@ jobs:
|
||||||
cmake ../
|
cmake ../
|
||||||
make
|
make
|
||||||
cpack -G DEB
|
cpack -G DEB
|
||||||
|
- name: Try install it
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
sudo apt install ./*.deb
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ubuntu-20.04-deb-package
|
name: ubuntu-20.04-deb-package
|
||||||
|
|
|
@ -239,7 +239,7 @@ elseif (APPLE)
|
||||||
# ...
|
# ...
|
||||||
elseif (UNIX)
|
elseif (UNIX)
|
||||||
set (CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
|
set (CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
|
||||||
set (CPACK_DEBIAN_PACKAGE_DEPENDS "libqt5svg5, libexiv2-14")
|
set (CPACK_DEBIAN_PACKAGE_SHILIBDEPS ON)
|
||||||
set (CPACK_DEBIAN_PACKAGE_RECOMMENDS "kimageformat-plugins")
|
set (CPACK_DEBIAN_PACKAGE_RECOMMENDS "kimageformat-plugins")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user