mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Update Github actions
This avoids nodejs deprecation warnings. Change-Id: I6f2c63332018c1483ad3c6d37e87970a4d557533
This commit is contained in:
@@ -32,7 +32,7 @@ jobs:
|
||||
- '28'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Dependencies
|
||||
run: |
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
|
||||
- name: Cache Eigen
|
||||
id: cache-eigen
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: eigen/
|
||||
key: NDK-${{matrix.os}}-eigen-3.4.0-${{matrix.abi}}
|
||||
@@ -82,7 +82,7 @@ jobs:
|
||||
|
||||
- name: Cache gflags
|
||||
id: cache-gflags
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: gflags/
|
||||
key: NDK-${{matrix.os}}-gflags-2.2.2-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}}
|
||||
@@ -111,7 +111,7 @@ jobs:
|
||||
|
||||
- name: Cache glog
|
||||
id: cache-glog
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: glog/
|
||||
key: NDK-${{matrix.os}}-glog-0.5-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}}
|
||||
@@ -141,7 +141,7 @@ jobs:
|
||||
|
||||
- name: Cache Build
|
||||
id: cache-build
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{env.CCACHE_DIR}}
|
||||
key: NDK-${{matrix.os}}-ccache-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}}-${{github.run_id}}
|
||||
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
- no-cuda
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Dependencies
|
||||
run: |
|
||||
@@ -72,7 +72,7 @@ jobs:
|
||||
|
||||
- name: Cache Build
|
||||
id: cache-build
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{env.CCACHE_DIR}}
|
||||
key: ${{matrix.os}}-ccache-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.gpu}}-${{github.run_id}}
|
||||
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
- ios
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Dependencies (iOS)
|
||||
if: matrix.target == 'ios'
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
|
||||
- name: Cache Build
|
||||
id: cache-build
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{env.CCACHE_DIR}}
|
||||
key: ${{matrix.os}}-ccache-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.target}}-${{github.run_id}}
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
env: x86_64
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Dependencies
|
||||
uses: msys2/setup-msys2@v2
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
|
||||
- name: Cache Build
|
||||
id: cache-build
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{env.CCACHE_DIR}}
|
||||
key: ${{runner.os}}-${{matrix.sys}}-${{matrix.env}}-${{matrix.build_type}}-${{matrix.lib}}-ccache-${{github.run_id}}
|
||||
@@ -116,7 +116,7 @@ jobs:
|
||||
marker: vc17
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Download and install CUDA toolkit
|
||||
if: matrix.gpu == 'cuda'
|
||||
@@ -131,7 +131,7 @@ jobs:
|
||||
|
||||
- name: Cache gflags
|
||||
id: cache-gflags
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: gflags/
|
||||
key: ${{matrix.msvc}}-gflags-2.2.2-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}
|
||||
@@ -155,7 +155,7 @@ jobs:
|
||||
|
||||
- name: Cache glog
|
||||
id: cache-glog
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: glog/
|
||||
key: ${{matrix.msvc}}-glog-0.6.0-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}
|
||||
@@ -180,7 +180,7 @@ jobs:
|
||||
|
||||
- name: Cache SuiteSparse
|
||||
id: cache-suitesparse
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: suitesparse/
|
||||
key: ${{matrix.msvc}}-suitesparse-5.13.0-cmake.3-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}
|
||||
@@ -193,7 +193,7 @@ jobs:
|
||||
|
||||
- name: Cache Eigen
|
||||
id: cache-eigen
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: eigen/
|
||||
key: ${{runner.os}}-eigen-3.4.0
|
||||
|
||||
Reference in New Issue
Block a user