Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update xtypes #113

Merged
merged 49 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
09aa5b6
Refs 16497. CMake upgrade.
Dec 14, 2022
9759c2e
Refs 16497. Fixing cross-platform issues.
Dec 16, 2022
d8b7827
Refs 16497. Fixing cross-platform issues.
Dec 16, 2022
ae117a5
Refs 16497. Update peglib api.
Dec 20, 2022
2140440
Refs 16497. Preprocessor strategy refactored
Dec 21, 2022
5aa3020
Refs 16497. Fixing gtest on windows
Dec 21, 2022
737860a
Refs 16497. Fixing testing
Dec 23, 2022
f1de241
Refs 16497. Fixing testing
Dec 29, 2022
48c4260
Refs 16497. Fixing testing
Dec 30, 2022
0ced5c0
Refs 16497. Populating test environment to locate preprocessor on win…
Dec 30, 2022
377a0dd
Refs 16497. Introducing some c++17 improvements
Jan 1, 2023
abdc04b
Refs 16497. Fixing encoding issues.
Jan 10, 2023
caedbef
Refs 16497. Enabling ctest for individual gtest execution
Jan 10, 2023
1e95e8a
Refs 16497. Fixing Parser::is_token()
Jan 10, 2023
2d82086
Refs 16497. Refactor static Parser object lifeliness
Jan 11, 2023
7a78e99
Refs 16497. Fix pipes crossplatform issues
Jan 12, 2023
9bb112e
Refs 16497. Refactor temporary filename generation. Fixings on crossp…
Jan 13, 2023
8ac4da9
Refs 16497. Fixing testing if xtypes exceptions are disabled
Jan 13, 2023
7f1461d
Refs 16497. Forcing current workding dir as preprocessor include path.
Jan 13, 2023
2522234
Refs 16497. Fixing windows type size on tests literals
Jan 13, 2023
2576179
Refs 16497. Match preprocessor and build platform and add copyright.
Jan 13, 2023
f5989aa
Refs 16497. Module ownership refactor from Parser to Context.
Jan 14, 2023
e0cf42f
Refs 16497. Simplify temporary files management
Jan 14, 2023
14f32e4
Refs 16497. Add github source indexing to pdb files
Jan 16, 2023
6c51e53
Refs 16497. Enabling Windows Error Reporting for ci purposes
Jan 16, 2023
0132181
Refs 16497. Fix the examples
Jan 16, 2023
81c70f8
Refs 16497. Fixing old ci
Jan 16, 2023
1696ece
Refs 16497. avoid deprecated string conversions
Jan 18, 2023
6fcb0c4
Refs 16497. New CI
Jan 17, 2023
7465b7e
Refs 16497. fixing clang/OS X errors
Jan 19, 2023
e1db308
Refs 16497. Fixing move semantics on DynamicData
Jan 20, 2023
fed71ef
Refs 16497. Compile warnings as errors.
Jan 21, 2023
a10b7ce
Refs 16497. Fixing clang/OS X errors
Jan 22, 2023
e30d3b3
Refs 16497. Avoid using as primitive size_t whose definition is platf…
Jan 22, 2023
8eae165
Refs 16497. Fixing assertion regex usage
Jan 22, 2023
bfdd7ae
Refs 16497. Nightly CI
Jan 22, 2023
8d2443a
Fix c++20 compatibility issues
Jan 23, 2023
cb25040
Refs 16497. Fix C++20 compatibility issues
Jan 24, 2023
9b69a74
Refs 16497. Refactor to link DataType lifecycle to their associated o…
Jan 25, 2023
87522f7
Refs 16497. Allow custom cpp-peglib version selection
Jan 26, 2023
2a6168a
Refs 16497. Added test StructType.russkel_issue
Feb 16, 2023
05c955a
Fix some errors
Jun 14, 2021
8e58611
Print types with scope
Jun 22, 2021
9b57378
Modify generator to return also the IDL separated by structures
Jul 1, 2021
f7be0a3
update log traces
May 9, 2023
1d2dc38
Print types with scope
Jun 22, 2021
49c936b
Fixing parser tool pin point issue
May 12, 2023
dc74a6d
Making platform tool distro independent
May 30, 2023
f22f500
Joakim Haugen's review
May 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 21 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,31 @@
name: CI for eProsima xTypes

on:
workflow_dispatch:
push:
branches:
- master
- 'master'
- 'main'
paths-ignore:
- '**.md'
- '**.txt'
- '!**/CMakeLists.txt'
pull_request:
branches:
- '**'
- 'master'
- 'main'
paths-ignore:
- '**.md'
- '**.txt'
- '!**/CMakeLists.txt'

jobs:
xtypes_CI:
runs-on: ubuntu-20.04
container: ubuntu:focal

steps:

- name: Download required dependencies
run: |
apt update
DEBIAN_FRONTEND=noninteractive apt install -y cmake gcc g++ git valgrind

- uses: actions/checkout@v2
with:
path: src/xtypes

- name: Build
working-directory: src/xtypes
run: |
ls -la
cmake . -DXTYPES_BUILD_TESTS=ON -DXTYPES_BUILD_EXAMPLES=ON -DXTYPES_EXCEPTIONS=ON -DCTEST_MEMORYCHECK_COMMAND=valgrind -DCTEST_MEMORYCHECK_COMMAND_OPTIONS='-q --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=50'
make -j${nproc}

- name: Test
working-directory: src/xtypes
run: |
ctest -VV -D ExperimentalTest --no-compress-output

- name: Valgrind
working-directory: src/xtypes
if: startsWith(github.head_ref, 'valgrind')
run: |
ctest -VV -D ExperimentalMemCheck --no-compress-output -LE NoMemoryCheck
uses: ./.github/workflows/reusable-github-ci.yml
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
with:
label: "Running-CI"
os: "[\"ubuntu-latest\",\"windows-latest\",\"macos-latest\"]"
config: "[\"RelWithDebInfo\"]"
vs_toolset: "[\"v143\",\"v142\"]"
cmake_args: "[\"-DXTYPES_EXCEPTIONS=ON\",\"-DCMAKE_CXX_STANDARD=20\"]"
15 changes: 15 additions & 0 deletions .github/workflows/nightly-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Nightly CI for eProsima xTypes

on:
schedule:
- cron: '42 23 * * *'

jobs:
xtypes_CI:
uses: ./.github/workflows/reusable-github-ci.yml
with:
label: "Nightly-CI"
os: "[\"ubuntu-latest\",\"windows-latest\",\"macos-latest\"]"
config: "[\"RelWithDebInfo\"]"
vs_toolset: "[\"v143\",\"v142\"]"
cmake_args: "[\"-DXTYPES_EXCEPTIONS=ON\",\"-DXTYPES_EXCEPTIONS=OFF\",\"-DCMAKE_CXX_STANDARD=20\"]"
Loading