Skip to content

Commit

Permalink
Update actions (#625)
Browse files Browse the repository at this point in the history
* Update actions

* Update googletest
  • Loading branch information
ymd-stella authored Dec 15, 2024
1 parent 7b78cc9 commit 2a7bb1b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# build_macos:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/checkout@v4
# - name: brew install
# run: |
# brew update
Expand All @@ -25,7 +25,7 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: DoozyX/[email protected]
with:
source: "."
Expand All @@ -43,7 +43,7 @@ jobs:
container:
image: ghcr.io/ymd-stella/stella-cv/stella_vslam:cv-3.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: cmake and make
Expand All @@ -66,7 +66,7 @@ jobs:
container:
image: ghcr.io/ymd-stella/stella-cv/stella_vslam:cv-4.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Create artifact directory
Expand All @@ -82,7 +82,7 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTS=ON -DUSE_SSE_ORB=ON -DUSE_GTSAM=ON ..
make -j $(($(nproc) / 2))
make install
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: stella-cv/pangolin_viewer
path: pangolin_viewer
Expand All @@ -94,7 +94,7 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make -j $(($(nproc) / 2))
make install
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: stella-cv/stella_vslam_examples
path: stella_vslam_examples
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
echo '|'
echo '</details>'
) >> artifact/result.md
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifact
path: artifact
Expand All @@ -289,7 +289,7 @@ jobs:
container:
image: ghcr.io/ymd-stella/stella-cv/stella_vslam:cv-4.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: cmake and make library
Expand All @@ -299,7 +299,7 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DUSE_OPENMP=OFF ..
make -j $(($(nproc) / 2))
make install
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: stella-cv/stella_vslam_examples
path: stella_vslam_examples
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
container:
image: ghcr.io/ymd-stella/stella-cv/ros:humble-ros-base
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: build ros2 packages
Expand Down
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set(INSTALL_GTEST OFF CACHE BOOL "Install google-test" FORCE)

include(${PROJECT_SOURCE_DIR}/cmake/DownloadProject.cmake)
download_project(PROJ googletest
URL https://github.com/google/googletest/archive/release-1.10.0.tar.gz
URL_HASH SHA1=9c89be7df9c5e8cb0bc20b3c4b39bf7e82686770
URL https://github.com/google/googletest/releases/download/v1.15.2/googletest-1.15.2.tar.gz
URL_HASH SHA1=568d58e26bd4e838449ca7ab8ebc152b3cbd210d
DOWNLOAD_NO_PROGRESS YES)
add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})

Expand Down

0 comments on commit 2a7bb1b

Please sign in to comment.