mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Run Linux Github workflow on Ubuntu 22.04
Change-Id: I8a404c23d9f38bf9bd538edef933258814a91a67
This commit is contained in:
@@ -5,7 +5,8 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
name: ${{matrix.os}}-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.threading_model}}
|
||||
runs-on: ${{matrix.os}}
|
||||
runs-on: ubuntu-latest
|
||||
container: ${{matrix.os}}
|
||||
defaults:
|
||||
run:
|
||||
shell: bash -e -o pipefail {0}
|
||||
@@ -17,7 +18,8 @@ jobs:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-20.04
|
||||
- ubuntu:20.04
|
||||
- ubuntu:22.04
|
||||
build_type:
|
||||
- Release
|
||||
lib:
|
||||
@@ -33,8 +35,8 @@ jobs:
|
||||
|
||||
- name: Setup Dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
apt-get update
|
||||
apt-get install -y \
|
||||
build-essential \
|
||||
ccache \
|
||||
cmake \
|
||||
|
||||
Reference in New Issue
Block a user