From 2a7bb1b219afaba33fdbbb1c94a896cc93106833 Mon Sep 17 00:00:00 2001 From: ymd-stella <7959916+ymd-stella@users.noreply.github.com> Date: Sun, 15 Dec 2024 15:41:27 +0900 Subject: [PATCH] Update actions (#625) * Update actions * Update googletest --- .github/workflows/main.yml | 20 ++++++++++---------- test/CMakeLists.txt | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bfe4f0668..a4cc9cb62 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -25,7 +25,7 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: DoozyX/clang-format-lint-action@v0.18.1 with: source: "." @@ -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 @@ -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 @@ -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 @@ -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 @@ -276,7 +276,7 @@ jobs: echo '|' echo '' ) >> artifact/result.md - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: artifact path: artifact @@ -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 @@ -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 @@ -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 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ef809075c..5ad482189 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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})