mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Fix Github workflows
* Ubuntu 18.04 GCC does not fully support C++17, hence remove the runner. * Using CMake SuiteSparse in a C++17 project requires a workaround implemented in a recent release. Change-Id: I9985fe12d582dfc9b74e97d670828334e507e9f5
This commit is contained in:
@@ -17,7 +17,6 @@ jobs:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-18.04
|
||||
- ubuntu-20.04
|
||||
build_type:
|
||||
- Release
|
||||
|
||||
@@ -92,12 +92,12 @@ jobs:
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: suitesparse/
|
||||
key: ${{matrix.msvc}}-suitesparse-5.10.1-cmake.1-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}
|
||||
key: ${{matrix.msvc}}-suitesparse-5.11.0-cmake.2-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}
|
||||
|
||||
- name: Download SuiteSparse
|
||||
if: steps.cache-suitesparse.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
(New-Object System.Net.WebClient).DownloadFile("https://github.com/sergiud/SuiteSparse/releases/download/5.10.1-cmake.1/SuiteSparse-5.10.1-cmake.1-${{matrix.marker}}-Win64-${{matrix.build_type}}-${{matrix.lib}}-gpl.zip", "suitesparse.zip");
|
||||
(New-Object System.Net.WebClient).DownloadFile("https://github.com/sergiud/SuiteSparse/releases/download/5.11.0-cmake.2/SuiteSparse-5.11.0-cmake.2-${{matrix.marker}}-Win64-${{matrix.build_type}}-${{matrix.lib}}-gpl.zip", "suitesparse.zip");
|
||||
Expand-Archive -Path suitesparse.zip -DestinationPath ${{github.workspace}}/suitesparse;
|
||||
|
||||
- name: Cache Eigen
|
||||
|
||||
Reference in New Issue
Block a user