Skip to content

Commit

Permalink
Merge pull request #1616 from Framstag/description_service
Browse files Browse the repository at this point in the history
feat: New DescriptionService
  • Loading branch information
Framstag authored Oct 15, 2024
2 parents 855a7a8 + 7789a28 commit 97c5150
Show file tree
Hide file tree
Showing 16 changed files with 1,755 additions and 957 deletions.
80 changes: 0 additions & 80 deletions .github/workflows/build_and test_on_ubuntu_20_04.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build_and test_on_ubuntu_24_04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: sudo apt-get -y install gcc g++ libtbb-dev ccache libtool pkg-config meson ninja-build
- name: Install libosmscout dependencies
run: "sudo apt-get update && sudo apt-get install -y
catch2
catch2
libxml2-dev
libprotobuf-dev protobuf-compiler liblzma-dev
libagg-dev
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/sanitize_on_ubuntu_22_04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
sanitize_clang:
name: clang
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -27,7 +27,7 @@ jobs:
run: "sudo apt-get install -y
libxml2-dev
libprotobuf-dev protobuf-compiler
libglm-dev libglew-dev freeglut3 freeglut3-dev libglfw3-dev libxrandr-dev libxcursor-dev libxinerama-dev libxi-dev libxxf86vm-dev
libglm-dev libglew-dev libglut-dev libglfw3-dev libxrandr-dev libxcursor-dev libxinerama-dev libxi-dev libxxf86vm-dev
libmarisa-dev
xvfb"
- name: Configure build project
Expand Down Expand Up @@ -66,20 +66,20 @@ jobs:

sanitize_gcc:
name: gcc
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install software-properties-common
run: sudo apt-get install software-properties-common
- name: Install gcc compiler, cmake and ninja
run: sudo apt-get -y install gcc-12 g++-12 libtbb-dev ccache libtool pkg-config cmake ninja-build
run: sudo apt-get -y install gcc g++ libtbb-dev ccache libtool pkg-config cmake ninja-build
- name: Install libosmscout dependencies
run: "sudo apt-get update && sudo apt-get install -y
libxml2-dev
libprotobuf-dev protobuf-compiler
libmarisa-dev
libglm-dev libglew-dev freeglut3 freeglut3-dev libglfw3-dev libxrandr-dev libxcursor-dev libxinerama-dev libxi-dev libxxf86vm-dev
libglm-dev libglew-dev libglut-dev libglfw3-dev libxrandr-dev libxcursor-dev libxinerama-dev libxi-dev libxxf86vm-dev
xvfb"
- name: Configure build project
run: "cmake -B build
Expand All @@ -100,8 +100,8 @@ jobs:
-DCMAKE_EXE_LINKER_FLAGS=\"-fsanitize=address -fsanitize=undefined\"
-DCMAKE_UNITY_BUILD=ON -Wno-dev -G \"Ninja\""
env:
CXX: g++-12
CC: gcc-12
CXX: g++
CC: gcc
- name: Build project
run: cmake --build build
- name: Install project
Expand Down
31 changes: 19 additions & 12 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,44 +15,51 @@ on:
jobs:
sonar_gcc_meson:
name: sonar, gcc and meson
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
environment: SONAR
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update package list
run: sudo apt-get update
- name: Install software-properties-common
run: sudo apt-get install software-properties-common
- name: Install gcc compiler, meson and ninja
run: sudo apt-get -y install gcc-11 g++-11 libtbb-dev ccache libtool pkg-config
run: sudo apt-get -y install gcc g++ libtbb-dev ccache libtool pkg-config
- name: Install meson, ninja, lcov and gcovr via pip
run: pip install meson ninja lcov gcovr==6.0
run: pip install --user meson ninja lcov gcovr --break-system-packages
- name: Install libosmscout dependencies
run: "sudo apt-get install -y
catch2
libxml2-dev
libprotobuf-dev protobuf-compiler
libprotobuf-dev protobuf-compiler liblzma-dev
libagg-dev
libfreetype6-dev libcairo2-dev libpangocairo-1.0-0 libpango1.0-dev
qtdeclarative5-dev libqt5svg5-dev qtlocation5-dev qtpositioning5-dev qttools5-dev-tools
qttools5-dev qtmultimedia5-dev
libglm-dev libglew-dev freeglut3 freeglut3-dev
libglm-dev libglew-dev libglut-dev
libmarisa-dev"
- name: Install sonar-scanner and build-wrapper
uses: sonarsource/sonarcloud-github-c-cpp@v2
uses: sonarsource/sonarcloud-github-c-cpp@v3
- name: Configure build project
run: meson setup --buildtype debugoptimized -Db_coverage=true --unity on debug
env:
CXX: g++-11
CC: gcc-11
CXX: g++
CC: gcc
- name: Build project
run: build-wrapper-linux-x86-64 --out-dir sonar-build-output ninja -C debug all test coverage
- name: Create gcov files
run: mkdir gcov && cd gcov && gcov -p ../debug//*/*/*
env:
CXX: g++
CC: gcc
- name: SonarCloud Scan
run: sonar-scanner -Dsonar.cfamily.build-wrapper-output=sonar-build-output -Dsonar.cfamily.gcov.reportsPath=gcov -Dsonar.token=$SONAR_TOKEN
run: "sonar-scanner
-Dsonar.cfamily.compile-commands=sonar-build-output/compile_commands.json
-Dsonar.cfamily.cppunit.reportsPath=debug/meson-logs/testlog.junit.xml
-Dsonar.coverageReportPaths=debug/meson-logs/sonarqube.xml
-Dsonar.cfamily.cobertura.reportPaths=debug/meson-logs/coverage.xml
-Dsonar.token=$SONAR_TOKEN"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Loading

0 comments on commit 97c5150

Please sign in to comment.