Skip to content

Commit

Permalink
Fix build?
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-lidar committed Aug 5, 2024
1 parent e332711 commit cf93b9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
token: ${{ github.token }}
github-binarycache: true
- name: cmake configure
run: cmake . -B build -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON -DCMAKE_TOOLCHAIN_FILE=D:/a/ouster_example/ouster_example/vcpkg/scripts/buildsystems/vcpkg.cmake
run: cmake . -B build -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON -DCMAKE_TOOLCHAIN_FILE=D:/a/ouster-sdk/ouster-sdk/vcpkg/scripts/buildsystems/vcpkg.cmake
- name: cmake build
run: cmake --build build -j4
- name: run tests
Expand All @@ -84,7 +84,7 @@ jobs:
- name: build python
run: cd python && python3 -m pip install -e .[test]
env:
OUSTER_SDK_CMAKE_ARGS: '-DCMAKE_TOOLCHAIN_FILE=D:/a/ouster_example/ouster_example/vcpkg/scripts/buildsystems/vcpkg.cmake'
OUSTER_SDK_CMAKE_ARGS: '-DCMAKE_TOOLCHAIN_FILE=D:/a/ouster-sdk/ouster-sdk/vcpkg/scripts/buildsystems/vcpkg.cmake'
- name: run tests
run: cd python/tests && pytest -n3
mac-build:
Expand Down
2 changes: 1 addition & 1 deletion ouster_client/include/ouster/lidar_scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class LidarScan {
template <typename Iterator>
LidarScan(size_t w, size_t h, Iterator begin, Iterator end,
size_t columns_per_packet = DEFAULT_COLUMNS_PER_PACKET)
: LidarScan(w, h, {begin, end}, columns_per_packet){}
: LidarScan(w, h, {begin, end}, columns_per_packet) {}

/**
* Initialize a lidar scan from another lidar scan.
Expand Down

0 comments on commit cf93b9f

Please sign in to comment.