-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from bmwcarit/release/27.0.239
Release/27.0.129
- Loading branch information
Showing
23 changed files
with
344 additions
and
39 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 |
---|---|---|
|
@@ -33,6 +33,7 @@ jobs: | |
cmake $GITHUB_WORKSPACE \ | ||
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \ | ||
-Dramses-sdk_CPACK_GENERATOR=DEB \ | ||
-Dramses-sdk_BUILD_TESTS=OFF \ | ||
-Dramses-sdk_BUILD_EXAMPLES=OFF \ | ||
-Dramses-sdk_BUILD_SMOKE_TESTS=OFF \ | ||
|
@@ -41,7 +42,7 @@ jobs: | |
-Dramses-sdk_ENABLE_WAYLAND_IVI=OFF | ||
cmake --build . --target package --config $BUILD_TYPE | ||
find . -name '*tar.gz' -exec bash -c 'mv $0 ramses-linux.tar.gz' {} \; | ||
find . -name '*deb' -exec bash -c 'mv $0 ramses-linux-x64.deb' {} \; | ||
if: ${{ matrix.os == 'ubuntu-20.04' }} | ||
|
||
- name: Build and package (Windows) | ||
|
@@ -58,8 +59,8 @@ jobs: | |
echo "Path after: $PATH" | ||
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE \ | ||
-Dramses_CPACK_GENERATOR=ZIP \ | ||
-DCMAKE_CONFIGURATION_TYPES=$BUILD_TYPE \ | ||
-Dramses-sdk_CPACK_GENERATOR=ZIP \ | ||
-Dramses-sdk_BUILD_TESTS=OFF \ | ||
-Dramses-sdk_BUILD_EXAMPLES=OFF \ | ||
-Dramses-sdk_BUILD_SMOKE_TESTS=OFF \ | ||
|
@@ -69,21 +70,21 @@ jobs: | |
cmake --build . --target package --config $BUILD_TYPE | ||
find . -name '*tar.gz' -exec bash -c 'mv $0 ramses-windows.tar.gz' {} \; | ||
find . -name '*zip' -exec bash -c 'mv $0 ramses-windows-x64.zip' {} \; | ||
if: ${{ matrix.os == 'windows-2019' }} | ||
|
||
- name: Publish release | ||
uses: softprops/[email protected] | ||
with: | ||
fail_on_unmatched_files: true | ||
files: | | ||
${{runner.workspace}}/build/ramses-windows.tar.gz | ||
${{runner.workspace}}/build/ramses-windows-x64.zip | ||
if: ${{ matrix.os == 'windows-2019' }} | ||
|
||
- name: Publish release | ||
uses: softprops/[email protected] | ||
with: | ||
fail_on_unmatched_files: true | ||
files: | | ||
${{runner.workspace}}/build/ramses-linux.tar.gz | ||
${{runner.workspace}}/build/ramses-linux-x64.deb | ||
if: ${{ matrix.os == 'ubuntu-20.04' }} |
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
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
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
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 |
---|---|---|
|
@@ -17,7 +17,8 @@ | |
# | ||
############################################################################ | ||
|
||
SET(CPACK_GENERATOR "TGZ") | ||
set(CPACK_GENERATOR ${ramses-sdk_CPACK_GENERATOR}) | ||
|
||
SET(CPACK_SOURCE_GENERATOR "TGZ") | ||
|
||
IF (NOT DEFINED GIT_COMMIT_COUNT OR NOT DEFINED GIT_COMMIT_HASH) | ||
|
@@ -26,15 +27,22 @@ ENDIF() | |
SET(SCM_VERSION "${GIT_COMMIT_COUNT}-${GIT_COMMIT_HASH}") | ||
|
||
IF("${CPACK_PACKAGE_NAME}" STREQUAL "") | ||
SET(CPACK_PACKAGE_NAME "${PROJECT_NAME}") | ||
SET(CPACK_PACKAGE_NAME "${PROJECT_NAME}") | ||
ENDIF() | ||
|
||
#SET(CPACK_RPM_COMPONENT_INSTALL 1) | ||
#SET(CPACK_ARCHIVE_COMPONENT_INSTALL 1) | ||
SET(CPACK_PACKAGE_VERSION "${PROJECT_VERSION_STRING}-${SCM_VERSION}") | ||
SET(CPACK_PACKAGE_CONTACT "${PROJECT_CONTACT}") | ||
SET(CPACK_SOURCE_STRIP_FILES TRUE) | ||
SET(CPACK_STRIP_FILES FALSE) | ||
SET(CPACK_PACKAGE_CONTACT "[email protected]") | ||
set(CPACK_PACKAGE_VENDOR "ramses") | ||
|
||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A distributed 3D rendering framework for embedded systems") | ||
set(CPACK_PACKAGE_DESCRIPTION "A packaged version of ramses. Generated using CPack.") | ||
|
||
if(ramses-sdk_CPACK_GENERATOR STREQUAL "DEB") | ||
# Enables CPack to add proper dependency info to the package, see docs for more info | ||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) | ||
endif() | ||
|
||
# Allows providing custom package suffix, use "-<commitsha>" by default | ||
if(RAMSES_CUSTOM_PACKAGE_SUFFIX) | ||
|
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
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
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
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
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
Oops, something went wrong.