Skip to content

Use config domain in [common] and add library info #6

Use config domain in [common] and add library info

Use config domain in [common] and add library info #6

Workflow file for this run

name: "CMake Builds"
on:
push:
paths:
- '**'
# Don't run this workflow if the only files that changed are the
# following. Make sure this is the same as the "pull_request.paths" list.
- '!AUTHORS'
- '!PROBLEM-REPORT-FORM'
- '!LICENSE'
- '!Dockerfile**'
- '!.dockerignore'
- '!.mailmap'
- '!.github/workflows/lint.yml'
- '!.github/workflows/sphinx_strict.yml'
- '!etc/**'
- '!docs/**'
- '!hooks/**'
- '!tools/scripts/gitrelease.pl'
- '!tools/scripts/lint.pl'
- '!**.md'
- '!**.rst'
- '!**/.gitignore'
- '!**/.lint_config'
- '!**/README*'
pull_request:
paths:
- '**'
# Don't run this workflow if the only files that changed are the
# following. Make sure this is the same as the "push.paths" list.
- '!AUTHORS'
- '!PROBLEM-REPORT-FORM'
- '!LICENSE'
- '!Dockerfile**'
- '!.dockerignore'
- '!.mailmap'
- '!.github/workflows/lint.yml'
- '!.github/workflows/sphinx_strict.yml'
- '!etc/**'
- '!docs/**'
- '!hooks/**'
- '!tools/scripts/gitrelease.pl'
- '!tools/scripts/lint.pl'
- '!**.md'
- '!**.rst'
- '!**/.gitignore'
- '!**/.lint_config'
- '!**/README*'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
TRIGGERING_COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
VCPKG_INSTALLED_DIR: ${{ github.workspace }}\vcpkg\installed
CTEST_OUTPUT_ON_FAILURE: ON
VCPKG_GIT_COMMIT: 898b728edc5e0d12b50015f9cd18247c4257a3eb
jobs:
u22:
runs-on: ubuntu-22.04
steps:
- name: Checkout OpenDDS
uses: actions/checkout@v4
with:
path: OpenDDS
submodules: true
- name: Checkout MPC
uses: actions/checkout@v4
with:
repository: DOCGroup/MPC
path: MPC
- name: Checkout ACE/TAO
uses: actions/checkout@v4
with:
repository: DOCGroup/ACE_TAO
path: OpenDDS/build/ACE_TAO
- name: Install xerces
run: sudo apt-get -y install libxerces-c-dev
- name: Configure
run: |
cd OpenDDS
cmake -B build \
-DCMAKE_UNITY_BUILD=TRUE \
-DBUILD_SHARED_LIBS=TRUE \
-DCMAKE_BUILD_TYPE=Debug \
-DOPENDDS_SECURITY=TRUE \
-DOPENDDS_ACE_TAO_SRC=$GITHUB_WORKSPACE/OpenDDS/build/ACE_TAO \
-DOPENDDS_MPC=$GITHUB_WORKSPACE/MPC \
-DOPENDDS_BUILD_TESTS=TRUE \
-DOPENDDS_CMAKE_VERBOSE=all
- uses: ammaraskar/[email protected]
- name: Build
run: |
cd OpenDDS
cmake --build build -- -j $(getconf _NPROCESSORS_ONLN)
- name: Run Tests
run: |
cd OpenDDS/build
ctest
u22_stat:
runs-on: ubuntu-22.04
steps:
- name: Checkout OpenDDS
uses: actions/checkout@v4
with:
path: OpenDDS
submodules: true
- name: Checkout MPC
uses: actions/checkout@v4
with:
repository: DOCGroup/MPC
path: MPC
- name: Checkout ACE/TAO
uses: actions/checkout@v4
with:
repository: DOCGroup/ACE_TAO
path: OpenDDS/build/ACE_TAO
- name: Configure
run: |
cd OpenDDS
cmake -B build \
-DCMAKE_UNITY_BUILD=TRUE \
-DBUILD_SHARED_LIBS=FALSE \
-DCMAKE_BUILD_TYPE=Debug \
-DOPENDDS_ACE_TAO_SRC=$GITHUB_WORKSPACE/OpenDDS/build/ACE_TAO \
-DOPENDDS_MPC=$GITHUB_WORKSPACE/MPC \
-DOPENDDS_BUILD_TESTS=TRUE \
-DOPENDDS_CMAKE_VERBOSE=all
- uses: ammaraskar/[email protected]
- name: Build
run: |
cd OpenDDS
cmake --build build -- -j $(getconf _NPROCESSORS_ONLN)
- name: Run Tests
run: |
cd OpenDDS/build
ctest
u22_no_features:
runs-on: ubuntu-22.04
steps:
- name: Checkout OpenDDS
uses: actions/checkout@v4
with:
path: OpenDDS
submodules: true
- name: Checkout MPC
uses: actions/checkout@v4
with:
repository: DOCGroup/MPC
path: MPC
- name: Checkout ACE/TAO
uses: actions/checkout@v4
with:
repository: DOCGroup/ACE_TAO
path: OpenDDS/build/ACE_TAO
- name: Install Ninja
run: sudo apt-get -y install ninja-build
- name: Configure
run: |
cd OpenDDS
cmake -B build \
-G Ninja \
-DCMAKE_UNITY_BUILD=TRUE \
-DBUILD_SHARED_LIBS=TRUE \
-DCMAKE_BUILD_TYPE=Debug \
-DOPENDDS_ACE_TAO_SRC=$GITHUB_WORKSPACE/OpenDDS/build/ACE_TAO \
-DOPENDDS_MPC=$GITHUB_WORKSPACE/MPC \
-DOPENDDS_BUILD_TESTS=TRUE \
-DOPENDDS_BUILT_IN_TOPICS=FALSE \
-DOPENDDS_OBJECT_MODEL_PROFILE=FALSE \
-DOPENDDS_PERSISTENCE_PROFILE=FALSE \
-DOPENDDS_OWNERSHIP_PROFILE=FALSE \
-DOPENDDS_CONTENT_SUBSCRIPTION=FALSE \
-DOPENDDS_CMAKE_VERBOSE=all
- uses: ammaraskar/[email protected]
- name: Build
run: |
cd OpenDDS
cmake --build build
- name: Run Tests
run: |
cd OpenDDS/build
ctest
u22_android29:
runs-on: ubuntu-22.04
steps:
- name: Checkout OpenDDS
uses: actions/checkout@v4
with:
path: OpenDDS
submodules: true
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r25c
add-to-path: false
- name: Checkout MPC
uses: actions/checkout@v4
with:
repository: DOCGroup/MPC
path: MPC
- name: Checkout ACE/TAO
uses: actions/checkout@v4
with:
repository: DOCGroup/ACE_TAO
path: OpenDDS/build/ACE_TAO
- name: Install Ninja
run: sudo apt-get -y install ninja-build
- name: Configure Host Tools
run: |
cd OpenDDS
cmake -B build-host \
-G Ninja \
-DBUILD_SHARED_LIBS=FALSE \
-DOPENDDS_JUST_BUILD_HOST_TOOLS=TRUE
- uses: ammaraskar/[email protected]
- name: Build Host Tools
run: |
cd OpenDDS
cmake --build build-host
- name: Configure Target
run: |
cd OpenDDS
cmake -B build-target \
-G Ninja \
-DBUILD_SHARED_LIBS=TRUE \
-DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-29 \
--toolchain ${{ steps.setup-ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake \
-DOPENDDS_CMAKE_VERBOSE=all \
-DOPENDDS_HOST_TOOLS=$(realpath build-host)
- name: Build Target
run: |
cd OpenDDS
cmake --build build-target
w22:
runs-on: windows-2022
steps:
- name: setup for run-vcpkg
shell: bash
run: |
echo '{ "name": "opendds", "version-string": "github-actions", "dependencies": [ "openssl", "xerces-c" ] }' > vcpkg.json
- name: install openssl & xerces-c
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: '${{ env.VCPKG_GIT_COMMIT }}'
runVcpkgInstall: true
- name: Checkout OpenDDS
uses: actions/checkout@v4
with:
path: OpenDDS
submodules: true
- name: Checkout MPC
uses: actions/checkout@v4
with:
repository: DOCGroup/MPC
path: MPC
- name: Checkout ACE/TAO
uses: actions/checkout@v4
with:
repository: DOCGroup/ACE_TAO
ref: ace6tao2
path: OpenDDS/build/ACE_TAO
- name: set up msvc env
uses: ilammy/msvc-dev-cmd@v1
- name: Configure
shell: cmd
run: |
cd OpenDDS
cmake -B build^
-DBUILD_SHARED_LIBS=TRUE^
-DOPENDDS_ACE_TAO_SRC=${{ github.workspace }}\OpenDDS\build\ACE_TAO^
-DOPENDDS_MPC=${{ github.workspace }}\MPC^
-DOPENDDS_BUILD_TESTS=TRUE^
-DOPENDDS_CMAKE_VERBOSE=all
- uses: ammaraskar/[email protected]
- name: Build
shell: cmd
run: |
cd OpenDDS
cmake --build build --config Debug
- name: Run Tests
shell: cmd
run: |
cd OpenDDS\build
ctest -C Debug
w22_stat:
runs-on: windows-2022
steps:
- name: Checkout OpenDDS
uses: actions/checkout@v4
with:
path: OpenDDS
submodules: true
- name: Checkout MPC
uses: actions/checkout@v4
with:
repository: DOCGroup/MPC
path: MPC
- name: Checkout ACE/TAO
uses: actions/checkout@v4
with:
repository: DOCGroup/ACE_TAO
path: OpenDDS/build/ACE_TAO
- name: set up msvc env
uses: ilammy/msvc-dev-cmd@v1
- name: Configure
shell: cmd
run: |
cd OpenDDS
cmake -B build^
-DCMAKE_UNITY_BUILD=TRUE^
-DBUILD_SHARED_LIBS=FALSE^
-DOPENDDS_ACE_TAO_SRC=${{ github.workspace }}\OpenDDS\build\ACE_TAO^
-DOPENDDS_MPC=${{ github.workspace }}\MPC^
-DOPENDDS_BUILD_TESTS=TRUE^
-DOPENDDS_CMAKE_VERBOSE=all
- uses: ammaraskar/[email protected]
- name: Build
shell: cmd
run: |
cd OpenDDS
cmake --build build --config Debug
- name: Run Tests
shell: cmd
run: |
cd OpenDDS\build
ctest -C Debug
w22_rel:
runs-on: windows-2022
steps:
- name: setup for run-vcpkg
shell: bash
run: |
echo '{ "name": "opendds", "version-string": "github-actions", "dependencies": [ "openssl", "xerces-c" ] }' > vcpkg.json
- name: install openssl & xerces-c
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: '${{ env.VCPKG_GIT_COMMIT }}'
runVcpkgInstall: true
- name: Checkout OpenDDS
uses: actions/checkout@v4
with:
path: OpenDDS
submodules: true
- name: Checkout MPC
uses: actions/checkout@v4
with:
repository: DOCGroup/MPC
path: MPC
- name: Checkout ACE/TAO
uses: actions/checkout@v4
with:
repository: DOCGroup/ACE_TAO
ref: ace6tao2
path: OpenDDS/build/ACE_TAO
- name: set up msvc env
uses: ilammy/msvc-dev-cmd@v1
- name: Configure
shell: cmd
run: |
cd OpenDDS
cmake -B build^
-DCMAKE_UNITY_BUILD=TRUE^
-DBUILD_SHARED_LIBS=TRUE^
-DOPENDDS_ACE_TAO_SRC=${{ github.workspace }}\OpenDDS\build\ACE_TAO^
-DOPENDDS_MPC=${{ github.workspace }}\MPC^
-DOPENDDS_BUILD_TESTS=TRUE^
-DOPENDDS_CMAKE_VERBOSE=all
- uses: ammaraskar/[email protected]
- name: Build
shell: cmd
run: |
cd OpenDDS
cmake --build build --config Release
- name: Run Tests
shell: cmd
run: |
cd OpenDDS\build
ctest -C Release
w22_rel_stat:
runs-on: windows-2022
steps:
- name: Checkout OpenDDS
uses: actions/checkout@v4
with:
path: OpenDDS
submodules: true
- name: Checkout MPC
uses: actions/checkout@v4
with:
repository: DOCGroup/MPC
path: MPC
- name: Checkout ACE/TAO
uses: actions/checkout@v4
with:
repository: DOCGroup/ACE_TAO
path: OpenDDS/build/ACE_TAO
- name: set up msvc env
uses: ilammy/msvc-dev-cmd@v1
- name: Configure
shell: cmd
run: |
cd OpenDDS
cmake -B build^
-DCMAKE_UNITY_BUILD=TRUE^
-DBUILD_SHARED_LIBS=FALSE^
-DOPENDDS_ACE_TAO_SRC=${{ github.workspace }}\OpenDDS\build\ACE_TAO^
-DOPENDDS_MPC=${{ github.workspace }}\MPC^
-DOPENDDS_BUILD_TESTS=TRUE^
-DOPENDDS_CMAKE_VERBOSE=all
- uses: ammaraskar/[email protected]
- name: Build
shell: cmd
run: |
cd OpenDDS
cmake --build build --config Release
- name: Run Tests
shell: cmd
run: |
cd OpenDDS\build
ctest -C Release