Skip to content

Commit

Permalink
Update Ubuntu in CI from 20.04 to 22.04 (#386)
Browse files Browse the repository at this point in the history
* Update Ubuntu in CI from 20.04 to 22.04

* Update doctest

* Fix doctest version format
  • Loading branch information
Dobiasd authored Jul 23, 2023
1 parent 48ac294 commit c3f4c64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3f4c64

Please sign in to comment.