forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Android CMake to GHA, Fix Building ACE/TAO
- Loading branch information
1 parent
b5afc62
commit b51cea5
Showing
5 changed files
with
109 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12691,3 +12691,104 @@ jobs: | |
run: | | ||
cd OpenDDS | ||
cmake --build build -t test | ||
build_cmake_u22_no_features: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout OpenDDS | ||
uses: actions/checkout@v3 | ||
with: | ||
path: OpenDDS | ||
submodules: true | ||
- name: Checkout MPC | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: DOCGroup/MPC | ||
path: MPC | ||
- name: Checkout ACE/TAO | ||
uses: actions/checkout@v3 | ||
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=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_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 -- -j $(getconf _NPROCESSORS_ONLN) | ||
- name: Run Tests | ||
run: | | ||
cd OpenDDS | ||
cmake --build build -t test | ||
build_cmake_u22_android29: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout OpenDDS | ||
uses: actions/checkout@v3 | ||
with: | ||
path: OpenDDS | ||
submodules: true | ||
- uses: nttld/setup-ndk@v1 | ||
with: | ||
ndk-version: r25c | ||
add-to-path: false | ||
- name: Checkout MPC | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: DOCGroup/MPC | ||
path: MPC | ||
- name: Checkout ACE/TAO | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: DOCGroup/ACE_TAO | ||
path: OpenDDS/build/ACE_TAO | ||
- name: Install xerces | ||
run: sudo apt-get -y install libxerces-c-dev | ||
- name: Configure Host Tools | ||
run: | | ||
cd OpenDDS | ||
cmake -B build-host \ | ||
-G Ninja \ | ||
-DBUILD_SHARED_LIBS=FALSE \ | ||
-DOPENDDS_JUST_BUILD_HOST_TOOLS=TRUE | ||
- name: Configure | ||
run: | | ||
cd OpenDDS | ||
cmake -B build-host \ | ||
-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) | ||
- uses: ammaraskar/[email protected] | ||
- name: Build Host Tools | ||
run: | | ||
cd OpenDDS | ||
cmake --build build-host | ||
- name: Build | ||
run: | | ||
cd OpenDDS | ||
cmake --build build-target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters