Skip to content

Commit 7398f48

Browse files
committed
Merge branch 'update_artifact_buildprocess'
# Conflicts: # .github/workflows/buildArtifactsForPackage.yml
2 parents e9c0172 + 3ae1f8b commit 7398f48

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

.github/workflows/buildArtifactsForPackage.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
CreatePackage:
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-20.04
1414
needs: [LinuxSharedReleaseBuild, LinuxStaticReleaseBuild, Win32SharedReleaseBuild, Win32StaticReleaseBuild, x64SharedReleaseBuild, x64StaticReleaseBuild]
1515

1616
steps:
@@ -242,7 +242,7 @@ jobs:
242242

243243

244244
LinuxSharedReleaseBuild:
245-
runs-on: ubuntu-22.04
245+
runs-on: ubuntu-20.04
246246

247247
steps:
248248
- uses: actions/checkout@v3
@@ -311,7 +311,7 @@ jobs:
311311

312312

313313
LinuxStaticReleaseBuild:
314-
runs-on: ubuntu-22.04
314+
runs-on: ubuntu-20.04
315315

316316
steps:
317317
- uses: actions/checkout@v3
@@ -561,6 +561,4 @@ jobs:
561561
uses: actions/upload-artifact@v3
562562
with:
563563
name: x64StaticRelease
564-
path: ./cpp/build/out.tgz
565-
566-
564+
path: ./cpp/build/out.tgz

cpp/buildArtifact/collectHeaderFiles.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ FIND_HEADERS_SH=${FIND_HEADERS_SH_PATH}/${FIND_HEADERS_SH_FILE}
2828
# prepare inlude paths for C++ compiler in order to extract ALL necessary non-system include files
2929
# this has to be done outside the openScenarioReader project folder to also reach all referenced external dependencies
3030
echo "#!/bin/bash" >${FIND_HEADERS_SH}
31-
echo "cpp -DCOLLECT_HEADERS -DSUPPORT_OSC_1_0 -DSUPPORT_OSC_1_1 -DSUPPORT_OSC_1_2 -MM \\" >>${FIND_HEADERS_SH}
31+
echo "cpp -DCOLLECT_HEADERS -DSUPPORT_OSC_1_0 -DSUPPORT_OSC_1_1 -DSUPPORT_OSC_1_2 -DSUPPORT_OSC_1_3 -MM \\" >>${FIND_HEADERS_SH}
3232
for i in $(find . -type d -print); do
3333
if [[ $i == *"CMake"* ]] || [[ $i == *"antlr_runtime"* ]] || [[ $i == *"ython"* ]] || [[ $i == *"java"* ]] || [[ $i == *".dir"* ]] || [[ $i == "./build"* ]]; then
3434
continue

cpp/buildArtifact/createCMakeLists.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ set( ENV{CMAKE_BUILD_PARALLEL_LEVEL} 4 )
7878
option(SUPPORT_OSC_1_0 \"Build the artifacts supporting OSC standard version 1.0\" ON)
7979
option(SUPPORT_OSC_1_1 \"Build the artifacts supporting OSC standard version 1.1\" ON)
8080
option(SUPPORT_OSC_1_2 \"Build the artifacts supporting OSC standard version 1.2\" ON)
81+
option(SUPPORT_OSC_1_3 \"Build the artifacts supporting OSC standard version 1.3\" ON)
8182
8283
if (SUPPORT_OSC_1_0)
8384
add_definitions(-DSUPPORT_OSC_1_0)
@@ -88,6 +89,9 @@ endif (SUPPORT_OSC_1_1)
8889
if (SUPPORT_OSC_1_2)
8990
add_definitions(-DSUPPORT_OSC_1_2)
9091
endif (SUPPORT_OSC_1_2)
92+
if (SUPPORT_OSC_1_3)
93+
add_definitions(-DSUPPORT_OSC_1_3)
94+
endif (SUPPORT_OSC_1_3)
9195
9296
if( WIN32 )
9397
add_definitions( -D_CRT_SECURE_NO_WARNINGS )

cpp/buildArtifact/createLinuxWindowsBinPackage.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ cp -f "${SCRIPT_DIR}/../CMakeHelpers.cmake" "${SCRIPT_DIR}/${OPEN_SCEANARIO_API}
8181
################################################################
8282
cp -r "${SCRIPT_DIR}/../applications/openScenarioTester/res" "${SCRIPT_DIR}/${OPEN_SCEANARIO_API}"
8383

84+
################################################################
85+
# copy LICENSE and NOTICE
86+
################################################################
87+
cp "${SCRIPT_DIR}/../../LICENSE" "${SCRIPT_DIR}/${OPEN_SCEANARIO_API}"
88+
cp "${SCRIPT_DIR}/../../NOTICE" "${SCRIPT_DIR}/${OPEN_SCEANARIO_API}"
89+
8490
################################################################
8591
# prepare lib files
8692
################################################################

0 commit comments

Comments
 (0)