Skip to content

Commit 417f820

Browse files
author
Levi Armstrong
committed
Add back documentation and ci
1 parent 5663ec8 commit 417f820

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+8135
-0
lines changed

.github/workflows/api_docs.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: DeployDocumentation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy_documentation:
10+
runs-on: ubuntu-18.04
11+
steps:
12+
- uses: actions/checkout@v1
13+
14+
- name: Build Doxygen Documentation
15+
uses: mattnotmitt/doxygen-action@v1
16+
with:
17+
doxyfile-path: 'doxygen.config'
18+
19+
- name: Deploy Documentation
20+
uses: peaceiris/actions-gh-pages@v3
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
publish_dir: ./docs
24+
keep_files: true

.github/workflows/bionic_build.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Bionic-Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
schedule:
9+
- cron: '0 5 * * *'
10+
11+
jobs:
12+
industrial_ci:
13+
name: Melodic
14+
runs-on: ubuntu-latest
15+
env:
16+
CI_NAME: Bionic-Build
17+
OS_NAME: ubuntu
18+
OS_CODE_NAME: bionic
19+
ROS_DISTRO: melodic
20+
ROS_REPO: main
21+
UPSTREAM_WORKSPACE: 'dependencies.rosinstall'
22+
ROSDEP_SKIP_KEYS: "bullet3 cmake_common_scripts iwyu fcl taskflow"
23+
DOCKER_IMAGE: "rosindustrial/tesseract:melodic"
24+
CCACHE_DIR: "/home/runner/work/tesseract_python/tesseract_python/Bionic-Build/.ccache"
25+
PARALLEL_BUILDS: false
26+
PARALLEL_TESTS: false
27+
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release"
28+
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Debug -DTESSERACT_ENABLE_TESTING=ON"
29+
AFTER_SCRIPT: 'catkin build -w $target_ws --no-deps --verbose tesseract_python --make-args test'
30+
steps:
31+
- uses: actions/checkout@v1
32+
33+
- name: Free Disk Space
34+
run: |
35+
sudo swapoff -a
36+
sudo rm -f /swapfile
37+
sudo apt clean
38+
docker rmi $(docker image ls -aq)
39+
df -h
40+
41+
- name: Prepare ccache timestamp
42+
id: ccache_cache_timestamp
43+
shell: cmake -P {0}
44+
run: |
45+
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
46+
message("::set-output name=timestamp::${current_date}")
47+
48+
- name: ccache cache files
49+
uses: actions/cache@v1.1.0
50+
with:
51+
path: ${{ env.CI_NAME }}/.ccache
52+
key: ${{ env.CI_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
53+
restore-keys: |
54+
${{ env.CI_NAME }}-ccache-
55+
56+
- uses: 'ros-industrial/industrial_ci@master'
57+
env: ${{env}}

.github/workflows/focal_build.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Focal-Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- feature/CommandLanguage
8+
pull_request:
9+
schedule:
10+
- cron: '0 5 * * *'
11+
12+
jobs:
13+
industrial_ci:
14+
name: Noetic
15+
runs-on: ubuntu-latest
16+
env:
17+
CI_NAME: Focal-Build
18+
OS_NAME: ubuntu
19+
OS_CODE_NAME: focal
20+
ROS_DISTRO: noetic
21+
ROS_REPO: main
22+
UPSTREAM_WORKSPACE: 'dependencies.rosinstall'
23+
ROSDEP_SKIP_KEYS: "bullet3 fcl ompl orocos_kdl python-numpy ifopt python descartes_opw descartes_samplers descartes_light opw_kinematics cmake_common_scripts iwyu taskflow"
24+
DOCKER_IMAGE: "rosindustrial/tesseract:noetic"
25+
CCACHE_DIR: "/home/runner/work/tesseract_python/tesseract_python/Focal-Build/.ccache"
26+
PARALLEL_TESTS: false
27+
PARALLEL_BUILDS: false
28+
BEFORE_RUN_TARGET_TEST_EMBED: "source /root/target_ws/install/setup.bash"
29+
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release"
30+
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Debug -DTESSERACT_ENABLE_TESTING=ON"
31+
steps:
32+
- uses: actions/checkout@v1
33+
34+
- name: Free Disk Space
35+
run: |
36+
sudo swapoff -a
37+
sudo rm -f /swapfile
38+
sudo apt clean
39+
docker rmi $(docker image ls -aq)
40+
df -h
41+
42+
- name: Prepare ccache timestamp
43+
id: ccache_cache_timestamp
44+
shell: cmake -P {0}
45+
run: |
46+
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
47+
message("::set-output name=timestamp::${current_date}")
48+
49+
- name: ccache cache files
50+
uses: actions/cache@v1.1.0
51+
with:
52+
path: ${{ env.CI_NAME }}/.ccache
53+
key: ${{ env.CI_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
54+
restore-keys: |
55+
${{ env.CI_NAME }}-ccache-
56+
57+
- uses: 'ros-industrial/industrial_ci@master'
58+
env: ${{env}}

.github/workflows/nightly.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: Nightly
2+
3+
on:
4+
pull_request:
5+
types: [labeled]
6+
schedule:
7+
- cron: '0 5 * * *'
8+
9+
jobs:
10+
industrial_ci:
11+
if: contains(github.event.pull_request.labels.*.name, 'check-tesseract-ros') || github.event.schedule == true
12+
name: ${{ matrix.env.CI_NAME }}
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
env:
18+
- {CI_NAME: Bionic-Build-Nightly,
19+
OS_NAME: ubuntu,
20+
OS_CODE_NAME: bionic,
21+
ROS_DISTRO: melodic,
22+
ROS_REPO: main,
23+
UPSTREAM_WORKSPACE: 'dependencies.rosinstall'
24+
DOWNSTREAM_WORKSPACE: 'github:ros-industrial-consortium/tesseract_ros#feature/CommandLanguage',
25+
ROSDEP_SKIP_KEYS: "bullet3 cmake_common_scripts fcl iwyu",
26+
DOCKER_IMAGE: "rosindustrial/tesseract:melodic",
27+
CCACHE_DIR: "/home/runner/work/tesseract_python/tesseract_python/Bionic-Build-Nightly/.ccache",
28+
PARALLEL_TESTS: false,
29+
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release",
30+
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release",
31+
DOWNSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release"}
32+
- {CI_NAME: Xenial-Build-Nightly,
33+
OS_NAME: ubuntu,
34+
OS_CODE_NAME: xenial,
35+
ROS_DISTRO: kinetic,
36+
ROS_REPO: main,
37+
UPSTREAM_WORKSPACE: 'dependencies.rosinstall'
38+
DOWNSTREAM_WORKSPACE: 'github:ros-industrial-consortium/tesseract_ros#feature/CommandLanguage',
39+
ROSDEP_SKIP_KEYS: "bullet3 cmake_common_scripts fcl iwyu benchmark",
40+
DOCKER_IMAGE: "rosindustrial/tesseract:kinetic",
41+
CCACHE_DIR: "/home/runner/work/tesseract_python/tesseract_python/Xenial-Build-Nightly/.ccache",
42+
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release",
43+
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release",
44+
DOWNSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release"}
45+
46+
steps:
47+
- uses: actions/checkout@v1
48+
49+
- name: Free Disk Space
50+
run: |
51+
sudo swapoff -a
52+
sudo rm -f /swapfile
53+
sudo apt clean
54+
docker rmi $(docker image ls -aq)
55+
df -h
56+
57+
- name: Prepare ccache timestamp
58+
id: ccache_cache_timestamp
59+
shell: cmake -P {0}
60+
run: |
61+
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
62+
message("::set-output name=timestamp::${current_date}")
63+
64+
- name: ccache cache files
65+
uses: actions/cache@v1.1.0
66+
with:
67+
path: ${{ matrix.env.CI_NAME }}/.ccache
68+
key: ${{ matrix.env.CI_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
69+
restore-keys: |
70+
${{ matrix.env.CI_NAME }}-ccache-
71+
72+
- uses: 'ros-industrial/industrial_ci@master'
73+
env: ${{matrix.env}}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Windows-Noetic-Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- feature/CommandLanguage
8+
pull_request:
9+
schedule:
10+
- cron: '0 5 * * *'
11+
12+
jobs:
13+
windows_ci:
14+
name: Noetic
15+
runs-on: windows-latest
16+
env:
17+
ROS_DISTRO: noetic
18+
steps:
19+
- uses: actions/checkout@v2
20+
with:
21+
submodules: recursive
22+
path: src/tesseract_python
23+
- name: Build
24+
shell: cmd
25+
run: |
26+
choco sources add -n=roswin -s https://aka.ms/ros/public --priority 1
27+
choco install ros-%ROS_DISTRO%-desktop_full -y --no-progress
28+
29+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64
30+
call "C:\opt\ros\%ROS_DISTRO%\x64\setup.bat"
31+
32+
set
33+
34+
rosdep update
35+
36+
vcs import --input "${{ github.workspace }}/src/tesseract_python/dependencies.rosinstall" src/
37+
38+
rosdep install -q --from-paths . --ignore-src -y
39+
40+
catkin_make_isolated --install --force-cmake --only-pkg-with-deps tesseract_python --cmake-args -DCMAKE_BUILD_TYPE=Release -DINSTALL_OMPL=ON -DINSTALL_OMPL_TAG=master -DBUILD_IPOPT=OFF -DBUILD_SNOPT=OFF
41+
call "D:\a\tesseract_python\tesseract_python\install_isolated\setup.bat"
42+
catkin_make_isolated --install --force-cmake --pkg tesseract_python --cmake-args -DCMAKE_BUILD_TYPE=Release -DTESSERACT_ENABLE_TESTING=ON -DINSTALL_OMPL=ON -DINSTALL_OMPL_TAG=master -DBUILD_IPOPT=OFF -DBUILD_SNOPT=OFF

0 commit comments

Comments
 (0)