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