Skip to content

Commit

Permalink
Merge branch 'master' into disposable
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Apr 20, 2022
2 parents 08159d9 + 372b2f4 commit cd49e89
Show file tree
Hide file tree
Showing 18 changed files with 1,423 additions and 1,386 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/linux-full-tests.yml
Expand Up @@ -42,11 +42,13 @@ jobs:
tag: hirsute
cc: gcc
cxx: g++
gitsetup: true
- name: "gcc 11.x"
shortname: gcc11
tag: impish
cc: gcc
cxx: g++
gitsetup: true
- name: "Clang 6 (Boost 1.72)"
shortname: clang6
tag: bionic
Expand Down Expand Up @@ -82,97 +84,117 @@ jobs:
tag: hirsute
cc: clang
cxx: clang++
gitsetup: true
- name: "Clang 13"
shortname: clang13
tag: impish
cc: clang
cxx: clang++
gitsetup: true
- name: "Clang 14"
shortname: clang14
tag: jammy
cc: clang
cxx: clang++
gitsetup: true
- name: "C++11 mode"
shortname: c++11
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++11"
gitsetup: true
- name: "C++14 mode"
shortname: c++14
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++14"
gitsetup: true
- name: "C++17 mode"
shortname: c++17
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++17"
gitsetup: true
- name: "C++20 mode"
shortname: c++20
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++20"
gitsetup: true
- name: "Unity build enabled"
shortname: unity
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-unity-build
gitsetup: true
- name: "Intraday calculations enabled"
shortname: intraday
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-intraday
gitsetup: true
- name: "Indexed coupons enabled"
shortname: indexed
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-indexed-coupons
gitsetup: true
- name: "C++11 classes enabled"
shortname: stdclasses
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-std-classes
gitsetup: true
- name: "auto_ptr re-enabled"
shortname: autoptr
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-Wno-deprecated-declarations"
configureflags: --disable-std-unique-ptr
gitsetup: true
- name: "Thread-safe observer enabled"
shortname: threadsafe
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-thread-safe-observer-pattern
gitsetup: true
- name: "Thread-safe singleton init enabled"
shortname: threadsafeinit
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-thread-safe-singleton-init
gitsetup: true
- name: "Sessions enabled"
shortname: sessions
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-sessions
gitsetup: true
- name: "OpenMP enabled"
shortname: openmp
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-openmp
gitsetup: true
container: ghcr.io/lballabio/quantlib-devenv:${{ matrix.tag }}
steps:
- name: Set up git permissions
if: ${{ matrix.gitsetup }}
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
- uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/linux-nondefault.yml
Expand Up @@ -37,11 +37,13 @@ jobs:
tag: hirsute
cc: gcc
cxx: g++
gitsetup: true
- name: "gcc 11.x"
shortname: gcc11
tag: impish
cc: gcc
cxx: g++
gitsetup: true
- name: "Clang 6 (Boost 1.72)"
shortname: clang6
tag: bionic
Expand Down Expand Up @@ -77,61 +79,75 @@ jobs:
tag: hirsute
cc: clang
cxx: clang++
gitsetup: true
- name: "Clang 13"
shortname: clang13
tag: impish
cc: clang
cxx: clang++
gitsetup: true
- name: "Clang 14"
shortname: clang14
tag: jammy
cc: clang
cxx: clang++
gitsetup: true
- name: "C++11 mode"
shortname: c++11
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++11"
gitsetup: true
- name: "C++14 mode"
shortname: c++14
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++14"
gitsetup: true
- name: "C++17 mode"
shortname: c++17
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++17"
gitsetup: true
- name: "C++20 mode"
shortname: c++20
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++20"
gitsetup: true
- name: "Unity build enabled"
shortname: unity
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-unity-build
gitsetup: true
- name: "C++11 classes enabled"
shortname: stdclasses
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++17"
configureflags: --enable-std-classes
gitsetup: true
- name: "OpenMP enabled"
shortname: openmp
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-openmp
gitsetup: true
container: ghcr.io/lballabio/quantlib-devenv:${{ matrix.tag }}
steps:
- name: Set up git permissions
if: ${{ matrix.gitsetup }}
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
- uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/linux.yml
Expand Up @@ -42,12 +42,14 @@ jobs:
tag: hirsute
cc: gcc
cxx: g++
gitsetup: true
- name: "gcc 11.x"
shortname: gcc11
tag: impish
cc: gcc
cxx: g++
tests: true
gitsetup: true
- name: "Clang 6 (Boost 1.72)"
shortname: clang6
tag: bionic
Expand Down Expand Up @@ -83,68 +85,79 @@ jobs:
tag: hirsute
cc: clang
cxx: clang++
gitsetup: true
- name: "Clang 13"
shortname: clang13
tag: impish
cc: clang
cxx: clang++
gitsetup: true
- name: "Clang 14"
shortname: clang14
tag: jammy
cc: clang
cxx: clang++
tests: true
gitsetup: true
- name: "C++11 mode"
shortname: c++11
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++11"
gitsetup: true
- name: "C++14 mode"
shortname: c++14
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++14"
gitsetup: true
- name: "C++17 mode"
shortname: c++17
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++17"
gitsetup: true
- name: "C++20 mode"
shortname: c++20
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++20"
gitsetup: true
- name: "Unity build enabled"
shortname: unity
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-unity-build
gitsetup: true
- name: "Intraday calculations enabled"
shortname: intraday
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-intraday
tests: true
gitsetup: true
- name: "Indexed coupons enabled"
shortname: indexed
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-indexed-coupons
tests: true
gitsetup: true
- name: "C++11 classes enabled"
shortname: stdclasses
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-std-classes
tests: true
gitsetup: true
- name: "auto_ptr re-enabled"
shortname: autoptr
tag: rolling
Expand All @@ -153,43 +166,53 @@ jobs:
cxxflags: "-Wno-deprecated-declarations"
configureflags: --disable-std-unique-ptr
tests: true
gitsetup: true
- name: "Thread-safe observer enabled"
shortname: threadsafe
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-thread-safe-observer-pattern
tests: true
gitsetup: true
- name: "Thread-safe singleton init enabled"
shortname: threadsafeinit
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-thread-safe-singleton-init
tests: true
gitsetup: true
- name: "Sessions enabled"
shortname: sessions
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-sessions
tests: true
gitsetup: true
- name: "OpenMP enabled"
shortname: openmp
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-openmp
tests: true
gitsetup: true
- name: "Parallel unit-test runner"
shortname: paralleltests
tag: rolling
cc: gcc
cxx: g++
configureflags: --enable-parallel-unit-test-runner
moreflags: -lrt
gitsetup: true
container: ghcr.io/lballabio/quantlib-devenv:${{ matrix.tag }}
steps:
- name: Set up git permissions
if: ${{ matrix.gitsetup }}
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
- uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msvc-analysis.yml
Expand Up @@ -43,7 +43,7 @@ jobs:
sarif_file: ${{ steps.run-analysis.outputs.sarif }}

- name: Upload SARIF as an Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: sarif-file
path: ${{ steps.run-analysis.outputs.sarif }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/sanitizer.yml
Expand Up @@ -5,6 +5,9 @@ jobs:
runs-on: ubuntu-latest
container: ghcr.io/lballabio/quantlib-devenv:rolling
steps:
- name: Set up git permissions
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
- uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Expand Up @@ -6,7 +6,7 @@ jobs:
staleness-check:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks.'
Expand Down

0 comments on commit cd49e89

Please sign in to comment.