1
0
mirror of https://github.com/google/benchmark.git synced 2025-04-29 22:40:33 +08:00

remove best effort support for ubuntu 18.04 ()

* remove deprecated ubuntu-18.04 target

* update docs

* force an apt update for perfcounters
This commit is contained in:
dominic 2023-02-06 16:37:26 +01:00 committed by GitHub
parent 1318865305
commit 94083ca441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 20 deletions

View File

@ -14,20 +14,15 @@ jobs:
strategy:
fail-fast: false
matrix:
# ubuntu-18.04 is deprecated but included for best-effort
os: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04]
os: [ubuntu-22.04, ubuntu-20.04]
build_type: ['Release', 'Debug']
steps:
- uses: actions/checkout@v2
- name: install libpfm
run: sudo apt -y install libpfm4-dev
- name: setup cmake
if: matrix.os == 'ubuntu-18.04'
uses: jwlawson/actions-setup-cmake@v1.9
with:
cmake-version: '3.16.3'
run: |
sudo apt update
sudo apt -y install libpfm4-dev
- name: create build environment
run: cmake -E make_directory ${{ runner.workspace }}/_build

View File

@ -17,8 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# ubuntu-18.04 is deprecated but included for best-effort support
os: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04, macos-latest]
os: [ubuntu-22.04, ubuntu-20.04, macos-latest]
build_type: ['Release', 'Debug']
compiler: [g++, clang++]
lib: ['shared', 'static']
@ -26,12 +25,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: setup cmake
if: matrix.os == 'ubuntu-18.04'
uses: jwlawson/actions-setup-cmake@v1.9
with:
cmake-version: '3.16.3'
- name: create build environment
run: cmake -E make_directory ${{ runner.workspace }}/_build

View File

@ -9,12 +9,9 @@ still allow forward progress, we require any build tooling to be available for:
Currently, this means using build tool versions that are available for Ubuntu
Ubuntu 20.04 (Focal Fossa), Ubuntu 22.04 (Jammy Jellyfish) and Debian 11.4 (bullseye).
_Note, CI also runs ubuntu-18.04 to attempt best effort support for older versions._
## cmake
The current supported version is cmake 3.16.3 as of 2022-08-10.
* _3.10.2 (ubuntu 18.04)_
* 3.16.3 (ubuntu 20.04)
* 3.18.4 (debian 11.4)
* 3.22.1 (ubuntu 22.04)