File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed
Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,21 @@ jobs:
108108 run : ./scripts/linux/psv/test_psv.sh
109109 shell : bash
110110
111+ psv-linux-22-04-gcc11-build-no-exceptions :
112+ name : PSV.Linux.22.04.gcc11.OLP_SDK_NO_EXCEPTION=ON
113+ runs-on : ubuntu-22.04
114+ env :
115+ BUILD_TYPE : RelWithDebInfo
116+ steps :
117+ - name : Check out repository
118+ uses : actions/checkout@v4
119+ - name : Install Ubuntu dependencies
120+ run : sudo apt-get update && sudo apt-get install -y ccache libssl-dev libcurl4-openssl-dev --no-install-recommends
121+ shell : bash
122+ - name : Compile project with cmake and ccache
123+ run : gcc --version && ./scripts/linux/psv/build_psv_no_exceptions.sh
124+ shell : bash
125+
111126 psv-linux-latest-gcc14-build-no-cache :
112127 name : PSV.Linux.latest.gcc14.OLP_SDK_ENABLE_DEFAULT_CACHE=OFF
113128 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+ #! /bin/bash -ex
2+ #
3+ # Copyright (C) 2026 HERE Europe B.V.
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+ # SPDX-License-Identifier: Apache-2.0
18+ # License-Filename: LICENSE
19+
20+ # Show initial ccache data
21+ ccache -s
22+
23+ mkdir -p build
24+ cd build
25+
26+ cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
27+ -DCMAKE_CXX_FLAGS=" -Wall -Wextra -Werror $CXXFLAGS " \
28+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
29+ -DOLP_SDK_BUILD_EXAMPLES=ON \
30+ -DBUILD_SHARED_LIBS=ON \
31+ -DOLP_SDK_NO_EXCEPTION=ON \
32+ ..
33+
34+ cmake --build . -- -j$( nproc)
35+
36+ # Show last ccache data
37+ ccache -s
You can’t perform that action at this time.
0 commit comments