Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
twhuang committed Jun 10, 2023
2 parents e4a0fa7 + 8e7d848 commit a0e218c
Show file tree
Hide file tree
Showing 66 changed files with 1,393 additions and 930 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,31 @@ jobs:
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest --output-on-failure

###############################################################################
# C++ 20 standard test:
###############################################################################

release-test-cpp20:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cmake
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20
- name: build
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest --output-on-failure

tsan-test-cpp20:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cmake
run: cmake -S . -B build -DCMAKE_CXX_FLAGS="-fsanitize=thread -g" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20
- name: build
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest --output-on-failure


25 changes: 25 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,28 @@ jobs:
- name: test
run: cd build ; ctest --output-on-failure

###############################################################################
# C++ 20 standard test:
###############################################################################

release-test-cpp20:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cmake
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_STANDARD=20
- name: build
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest --output-on-failure

tsan-test-cpp20:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cmake
run: cmake -S . -B build -DCMAKE_CXX_FLAGS="-fsanitize=thread -g" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_STANDARD=20
- name: build
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest --output-on-failure
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
#
# To enable address and leak sanitizers
# -DCMAKE_CXX_FLAGS="-fsanitize=address -fsanitize=leak -g"
#
# To enable different c++ standards
# -DCMAKE_CXX_STANDARD=17
# -DCMAKE_CXX_STANDARD=20
# -DCMAKE_CXX_STANDARD=23
# -------------------------------------------------------------------


Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TASKFLOW MIT LICENSE

Copyright (c) 2018-2022 Dr. Tsung-Wei Huang
Copyright (c) 2018-2023 Dr. Tsung-Wei Huang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit a0e218c

Please sign in to comment.