Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/1.3.1 #200

Open
wants to merge 9 commits into
base: release/1.3
Choose a base branch
from
Open
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
13 changes: 7 additions & 6 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
static: ["--static", ""]
python-version: [3.6, 3.7, 3.8, 3.9]
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Cache conda
uses: actions/cache@v1
uses: actions/cache@v3
env:
CACHE_NUMBER: 0 # Increase this value to reset cache if .github/pcmsolver-gha.yml has not changed
with:
Expand All @@ -45,13 +49,10 @@ jobs:
environment-file: .github/pcmsolver-gha.yml
channel-priority: true
python-version: ${{ matrix.python-version }}
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!

- name: Configure
shell: bash -l {0}
run: |
export CFLAGS="-isystem /usr/share/miniconda/envs/pcmsolver-gha/include"
export CXXFLAGS="-isystem /usr/share/miniconda/envs/pcmsolver-gha/include"
python ./setup.py --type=$BUILD_TYPE ${{ matrix.static }} --generator=Ninja --prefix=$GITHUB_WORKSPACE/Software/PCMSolver build

- name: Build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up environment
uses: conda-incubator/setup-miniconda@v2
Expand All @@ -26,7 +26,7 @@ jobs:
activate-environment: pcmsolver-codecov
environment-file: .github/pcmsolver-codecov.yml
channel-priority: true
python-version: 3.6
python-version: 3.8

- name: Configure
shell: bash -l {0}
Expand All @@ -53,4 +53,4 @@ jobs:
lcov --list coverage.info

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## [Version 1.3.1] - 2022-01-31

### Changed

- A C++14-compliant compiler is **required** to compile the library.

### Fixed

- Warnings from throwing DTOR #199.
- `glibc` errors due to outdated version of Catch #197. Thanks @foxtran
- Fix CMake to work with `FetchContent` #196. Thanks @awild82
- Unused variable compiler warnings.
- Deactivated the `green_spherical_diffuse` unit test. This is a stopgap for #159.

## [Version 1.3.0] - 2020-11-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion cmake/custom/compilers/CXXFlags.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
set(CMAKE_CXX_EXTENSIONS FALSE)

Expand Down
Loading