-
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.
Merge pull request #1 from johnwason/drekar
Rename to drekar-launch-process-cpp
- Loading branch information
Showing
12 changed files
with
128 additions
and
57 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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
release: | ||
types: | ||
- created | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ubuntu_test: | ||
strategy: | ||
matrix: | ||
runs-on: [ubuntu-20.04, ubuntu-22.04] | ||
runs-on: ${{ matrix.runs-on }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: apt | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y build-essential cmake python3-pip python3-setuptools python3-wheel | ||
- name: pip | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install --user git+https://github.com/johnwason/drekar-launch-process.git | ||
python3 -m pip install --user git+https://github.com/johnwason/drekar-launch.git | ||
- name: configure | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DBUILD_TESTING=ON .. | ||
- name: build | ||
run: | | ||
cd build | ||
cmake --build . | ||
- name: test | ||
run: | | ||
python3 -m drekar_launch --config=test/drekar-launch/drekar-launch.yaml | ||
windows_test: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: pip | ||
run: | | ||
python -m pip install --user git+https://github.com/johnwason/drekar-launch-process.git | ||
python -m pip install --user git+https://github.com/johnwason/drekar-launch.git | ||
- name: configure | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -G Ninja -DBUILD_TESTING=ON .. | ||
- name: build | ||
run: | | ||
cd build | ||
cmake --build . | ||
- name: test | ||
run: | | ||
python -m drekar_launch --config=test/drekar-launch/drekar-launch.yaml | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# - Config file for the drekar-launch-process-cpp package | ||
# It defines the following variables | ||
# DREKAR_LAUNCH_PROCESS_CPP_INCLUDE_DIR - include directory | ||
# DREKAR_LAUNCH_PROCESS_CPP_LIBRARY_DIR - directory containing libraries | ||
# DREKAR_LAUNCH_PROCESS_CPP_SHARED_LIBS_BUILT - whether we have built shared libraries or not | ||
# DREKAR_LAUNCH_PROCESS_CPP_LIBRARIES - libraries to link against | ||
|
||
@PACKAGE_INIT@ | ||
|
||
set_and_check(DREKAR_LAUNCH_PROCESS_CPP_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@") | ||
set_and_check(DREKAR_LAUNCH_PROCESS_CPP_LIBRARY_DIR "@PACKAGE_CMAKE_INSTALL_LIBDIR@") | ||
|
||
# Are we building shared libraries? | ||
set(DREKAR_LAUNCH_PROCESS_CPP_SHARED_LIBS_BUILT "@PACKAGE_BUILD_SHARED_LIBS@") | ||
|
||
# Our library dependencies (contains definitions for IMPORTED targets) | ||
include(${CMAKE_CURRENT_LIST_DIR}/drekar-launch-process-cpp-targets.cmake) | ||
|
||
# These are IMPORTED targets created by drekar-launch-process-cpp-targets.cmake | ||
set(DREKAR_LAUNCH_PROCESS_CPP_LIBRARIES "drekar-launch-process-cpp") | ||
|
||
check_required_components(drekar-launch-process-cpp) |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?xml version="1.0"?> | ||
<package format="2"> | ||
<name>simple_launch_process_cpp</name> | ||
<name>drekar_launch_process_cpp</name> | ||
<version>0.1.0</version> | ||
<description>C++ client for the simple-launch orchestractor</description> | ||
<description>C++ client for the drekar-launch orchestractor</description> | ||
|
||
<maintainer email="[email protected]">John Wason</maintainer> | ||
|
||
<license>Apache 2.0</license> | ||
|
||
<url type="website">https://github.com/johnwason/simple-launch-process-cpp</url> | ||
<url type="website">https://github.com/johnwason/drekar-launch-process-cpp</url> | ||
<author email="[email protected]">John Wason</author> | ||
|
||
<export> | ||
|
4 changes: 2 additions & 2 deletions
4
src/simple_launch_process_cpp_posix.cpp → src/drekar_launch_process_cpp_posix.cpp
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: test_cpp_launch | ||
tasks: | ||
- name: wait_exit | ||
program: ./build/drekar-launch-process-cpp_wait_exit_test | ||
- name: callback_exit | ||
program: ./build/drekar-launch-process-cpp_callback_exit_test | ||
- name: sleep | ||
program: sleep | ||
args: ["5"] | ||
quit-on-terminate: true | ||
|
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
4 changes: 2 additions & 2 deletions
4
...t_simple_launch_process_cpp_wait_exit.cpp → ...t_drekar_launch_process_cpp_wait_exit.cpp
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