From c3f4c64c465650a25a34addc48a91c46aff4fc24 Mon Sep 17 00:00:00 2001 From: Tobias Hermann Date: Sun, 23 Jul 2023 10:23:32 +0200 Subject: [PATCH] Update Ubuntu in CI from 20.04 to 22.04 (#386) * Update Ubuntu in CI from 20.04 to 22.04 * Update doctest * Fix doctest version format --- .github/workflows/ci.yml | 4 ++-- INSTALL.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6700b7f7..57b9dab9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: [workflow_dispatch, push, pull_request] jobs: build_gcc: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@main - name: Setup @@ -39,7 +39,7 @@ jobs: make && sudo make install cd ../.. # Doctest - git clone -b '2.3.5' --single-branch --depth 1 https://github.com/onqtam/doctest.git + git clone -b 'v2.4.11' --single-branch --depth 1 https://github.com/onqtam/doctest.git cd doctest mkdir -p build && cd build cmake .. -DDOCTEST_WITH_TESTS=OFF -DDOCTEST_WITH_MAIN_IN_STATIC_LIB=OFF diff --git a/INSTALL.md b/INSTALL.md index 167d854a..c17a26ee 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -41,7 +41,7 @@ Building the tests (optional) requires [doctest](https://github.com/onqtam/docte ``` # install doctest -git clone -b '2.3.5' --single-branch --depth 1 https://github.com/onqtam/doctest.git +git clone -b 'v2.4.11' --single-branch --depth 1 https://github.com/onqtam/doctest.git cd doctest mkdir -p build && cd build cmake .. -DDOCTEST_WITH_TESTS=OFF -DDOCTEST_WITH_MAIN_IN_STATIC_LIB=OFF