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:
Sergiu Deitsch
2022-04-01 19:41:33 +02:00
parent 1274743609
commit 40c1a7e18e
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -17,7 +17,6 @@ jobs:
fail-fast: true
matrix:
os:
- ubuntu-18.04
- ubuntu-20.04
build_type:
- Release
+2 -2
View File
@@ -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