Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Nov 9, 2023
1 parent 74d599a commit 5f5d75f
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ubuntu_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- name: Install Depends
shell: bash
run: |
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE" >> $GITHUB_ENV
apt update
apt upgrade -y
apt install -y cmake curl lsb-release ca-certificates gnupg python3 python3-distutils python3-pip ccache
Expand Down Expand Up @@ -73,29 +74,29 @@ jobs:
- name: Build Upstream Workspace
shell: bash
run: |
cd ${{ github.workspace }}/target_ws/src
cd ${{ env.GITHUB_WORKSPACE }}/target_ws/src
ls -la
.${{ github.workspace }}/target_ws/src/.github/workflows/add_ros_apt_sources.sh
.${{ env.GITHUB_WORKSPACE }}/target_ws/src/.github/workflows/add_ros_apt_sources.sh
apt install -y liboctomap-dev libfcl-dev libconsole-bridge-dev libbullet-dev libbullet-extras-dev libyaml-cpp-dev libtinyxml2-dev libassimp-dev liborocos-kdl-dev libpcl-dev liblapack-dev libboost-dev libboost-filesystem-dev libboost-serialization-dev libboost-program-options-dev libboost-graph-dev libbenchmark-dev libccd-dev libgtest-dev
mkdir -p ${{ github.workspace }}/upstream_ws/src
vcs import --input "dependencies.repos" ${{ github.workspace }}/upstream_ws/src/
cd ${{ github.workspace }}/upstream_ws
vcs import --input "dependencies.repos" ${{ env.GITHUB_WORKSPACE }}/upstream_ws/src/
cd ${{ env.GITHUB_WORKSPACE }}/upstream_ws
colcon build --event-handlers console_direct+ --cmake-args -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Release
- name: Build Target Workspace
shell: bash
run: |
cd ${{ github.workspace }}/target_ws/src
cd ${{ env.GITHUB_WORKSPACE }}/target_ws/src
ls
source ${{ github.workspace }}/upstream_ws/install/setup.bash
source ${{ env.GITHUB_WORKSPACE }}/upstream_ws/install/setup.bash
colcon build --event-handlers console_direct+ --cmake-args -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Release -DTESSERACT_ENABLE_TESTING=ON
if [ $? -ge 1 ]; then return 1; fi
- name: Run Tests
shell: bash
run: |
cd ${{ github.workspace }}/target_ws
source ${{ github.workspace }}/target_ws/install/setup.bash
cd ${{ env.GITHUB_WORKSPACE }}/target_ws
source ${{ env.GITHUB_WORKSPACE }}/target_ws/install/setup.bash
colcon test --event-handlers console_direct+ --return-code-on-test-failure
if [ $? -ge 1 ]; then return 1; fi
colcon test-result --verbose
Expand Down

0 comments on commit 5f5d75f

Please sign in to comment.