Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dfbakin committed Feb 19, 2024
1 parent 6b9aef5 commit 7623a94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,18 @@ jobs:
image: ${{ needs.extract-image.outputs.image-url}}

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Build ROS2 packages
shell: bash
run: |
echo "${{ needs.extract-image.outputs.image-url}}"
echo $ROS_ROOT/setup.bash;
source $ROS_ROOT/setup.bash
echo $GITHUB_WORKSPACE
ls
echo "==="
cd $GITHUB_WORKSPACE/${{ github.event.repository.name }}
ls
echo "==="
cd packages
ls $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE/packages
mkdir -p camera/params;
colcon build --merge-install --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_TOOLS_ADDRESS_SANITIZER=1
source install/setup.bash
Expand All @@ -61,9 +60,6 @@ jobs:
shell: bash
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:${{ github.event.pull_request.base.ref }};
cd ..;
pwd;
ls;
- name: Launching pre-commit
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ repos:
- id: clang-format
args: [-i]
- id: clang-tidy
args: [--fix, -p=packages/build]
args: [--fix, -p=$GITHUB_WORKSPACE/packages/build]

0 comments on commit 7623a94

Please sign in to comment.