Create binary artifacts for Linux

* Bundle Qt binaries and create artifacts on Linux 
* Add qt.conf for Linux
* Remove install target for unit test
This commit is contained in:
Magne Sjaastad 2024-02-13 09:06:38 +01:00 committed by GitHub
parent 7c317cf7c1
commit 8fe385adcf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 5 deletions

View File

@ -210,6 +210,7 @@ jobs:
-D CMAKE_BUILD_TYPE=$ENV{BUILD_TYPE}
-D CMAKE_INSTALL_PREFIX=cmakebuild/install
-D RESINSIGHT_BUNDLE_OPENSSL=true
-D RESINSIGHT_QT5_BUNDLE_LIBRARIES=true
-D RESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS=true
-D RESINSIGHT_TREAT_WARNINGS_AS_ERRORS=true
-D RESINSIGHT_ENABLE_PRECOMPILED_HEADERS=false
@ -272,8 +273,7 @@ jobs:
name: python-distribution
path: GrpcInterface/Python/dist
- name: Upload Windows install artifact
if: contains( matrix.config.os, 'windows')
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ResInsight-${{ matrix.config.name }}

View File

@ -6,7 +6,7 @@ import sys
org_name = "OPM"
repo_name = "ResInsight"
keep_artifacts = 20
keep_artifacts = 100
def get_all_artifacts(repo_name: str, headers: dict) -> []:
amount_items_per_page = 50

View File

@ -484,6 +484,8 @@ if(RESINSIGHT_PRIVATE_INSTALL)
OPTIONAL
)
install(FILES qt.conf DESTINATION ${RESINSIGHT_INSTALL_FOLDER}/)
endif(RESINSIGHT_QT5_BUNDLE_LIBRARIES)
endif()

View File

@ -0,0 +1,2 @@
[Paths]
Plugins = plugins

View File

@ -214,5 +214,3 @@ if(MSVC)
endif(MSVC)
add_test(NAME ResInsight-tests COMMAND ResInsight-tests)
install(TARGETS ResInsight-tests DESTINATION ${RESINSIGHT_INSTALL_FOLDER})