Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ name: Install
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

env:
CTEST_OUTPUT_ON_FAILURE: 1
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

env:
CPP_STANDARD: 20
Expand All @@ -32,7 +32,7 @@ jobs:
with:
version: 11
platform: x64

- name: build and install library
run: |
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DTP_BUILD_EXAMPLES=OFF -DTP_BUILD_TESTS=ON -DTP_BUILD_BENCHMARKS=OFF -DCMAKE_INSTALL_PREFIX="/usr/local"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ name: Style
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

env:
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules

jobs:
build:
runs-on: windows-2019
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Ubuntu
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

env:
CTEST_OUTPUT_ON_FAILURE: 1
Expand All @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-latest]
os: [ubuntu-22.04, ubuntu-latest]
version: [11]
include:
- os: ubuntu-latest
Expand Down Expand Up @@ -72,14 +72,14 @@ jobs:

build-clang:
name: "clang-${{matrix.version}}"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
CPP_STANDARD: 20
strategy:
fail-fast: false
max-parallel: 4
matrix:
version: [14, 15, 16, 17, 18]
version: [14, 15, 16, 17, 18, 19]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Windows
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

env:
CTEST_OUTPUT_ON_FAILURE: 1
Expand Down
2 changes: 1 addition & 1 deletion benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CPMAddPackage(
GIT_SHALLOW
)

CPMAddPackage("gh:doctest/doctest@2.4.11")
CPMAddPackage("gh:doctest/doctest@2.4.12")
CPMAddPackage(
NAME bshoshany
GITHUB_REPOSITORY bshoshany/thread-pool
Expand Down
2 changes: 1 addition & 1 deletion cmake/CPM.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(CPM_DOWNLOAD_VERSION 0.40.2)
set(CPM_DOWNLOAD_VERSION 0.42.0)

if(CPM_SOURCE_CACHE)
# Expand relative path. This is important if the provided path contains a tilde (~)
Expand Down
2 changes: 1 addition & 1 deletion examples/mandelbrot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include(../../cmake/CPM.cmake)

CPMAddPackage(
GITHUB_REPOSITORY jarro2783/cxxopts
VERSION 2.2.1
VERSION 3.3.1
OPTIONS "CXXOPTS_BUILD_EXAMPLES NO" "CXXOPTS_BUILD_TESTS NO" "CXXOPTS_ENABLE_INSTALL YES"
)

Expand Down
2 changes: 1 addition & 1 deletion examples/mandelbrot/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ auto main(int argc, char **argv) -> int {

mandelbrot_threadpool(image_size, image_size, max_iterations, output_file_name);

} catch (const cxxopts::OptionException &e) {
} catch (const cxxopts::exceptions::exception &e) {
std::cout << "error parsing options: " << e.what() << std::endl;
exit(1);
}
Expand Down
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ include(../cmake/tools.cmake)

include(../cmake/CPM.cmake)

CPMAddPackage("gh:doctest/doctest@2.4.11")
CPMAddPackage("gh:doctest/doctest@2.4.12")
CPMAddPackage(
NAME Format.cmake
VERSION 1.7.3
VERSION 1.8.3
GITHUB_REPOSITORY TheLartians/Format.cmake
OPTIONS
# skip CMake formatting for now
Expand Down
1 change: 1 addition & 0 deletions test/source/thread_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <algorithm>
#include <array>
#include <barrier>
#include <chrono>
#include <iostream>
#include <numeric>
#include <random>
Expand Down