Skip to content

Commit

Permalink
Install taskflow in via ici
Browse files Browse the repository at this point in the history
  • Loading branch information
jdlangs committed May 23, 2022
1 parent 1a3031a commit 4b085fd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/focal_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
# ROSDEP_SKIP_KEYS: "bullet bullet-extras ros_industrial_cmake_boilerplate fcl iwyu taskflow"
ROSDEP_SKIP_KEYS: "catkin taskflow"
DOCKER_IMAGE: "ros:foxy"
BEFORE_SCRIPT: "sh install-taskflow.sh"
PARALLEL_TESTS: false
NOT_TEST_BUILD: true
CCACHE_DIR: "/home/runner/work/tesseract_ros/tesseract_ros/Focal-Build/.ccache"
Expand Down Expand Up @@ -55,17 +56,5 @@ jobs:
restore-keys: |
${{ env.CI_NAME }}-ccache-
- name: Install taskflow
working-directory: /home/runner
env:
TASKFLOW_VERSION: v3.3.0
run: |
git clone https://github.com/taskflow/taskflow.git
git -C taskflow checkout $TASKFLOW_VERSION
mkdir taskflow-build
cmake -S taskflow -B taskflow-build -DCMAKE_INSTALL_PREFIX=/usr -DTF_BUILD_TESTS=OFF -DTF_BUILD_EXAMPLES=OFF
sudo make -C taskflow-build/ install
rm -rf taskflow/ taskflow-build/
- uses: 'ros-industrial/industrial_ci@master'
env: ${{env}}
12 changes: 12 additions & 0 deletions install-taskflow.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
TASKFLOW_VERSION="v3.3.0"
git clone https://github.com/taskflow/taskflow.git /tmp/taskflow
git -C /tmp/taskflow checkout $TASKFLOW_VERSION
mkdir /tmp/taskflow-build
cmake -S /tmp/taskflow -B /tmp/taskflow-build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DTF_BUILD_BENCHMARKS=OFF \
-DTF_BUILD_CUDA=OFF \
-DTF_BUILD_EXAMPLES=OFF
-DTF_BUILD_TESTS=OFF \
sudo cmake --install /tmp/taskflow-build/
rm -rf /tmp/taskflow/ /tmp/taskflow-build/

0 comments on commit 4b085fd

Please sign in to comment.