Skip to content

Commit

Permalink
Enable tests in Debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Feb 5, 2025
1 parent 1d7a503 commit 77a403c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/basictest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: basictest

#fixme: Also a debug build.

on:
push:
pull_request:
Expand All @@ -26,16 +24,16 @@ jobs:
strategy:
matrix:
include:
- { os: ubuntu-24.04-arm, CC: gcc-11, CXX: g++-11, python: '3.12' }
- { os: ubuntu-20.04, CC: gcc-10, CXX: g++-10, python: '3.8' }
- { os: ubuntu-22.04, CC: gcc, CXX: g++, python: '3.9' }
- { os: ubuntu-latest, CC: gcc, CXX: g++, python: '3.10' }
- { os: ubuntu-latest, CC: clang, CXX: clang++, python: '3.11' }
- { os: ubuntu-latest, CC: gcc-12, CXX: g++-12, python: '3.12' }
- { os: ubuntu-latest, CC: gcc, CXX: g++, python: '3.13' }
- { os: macos-latest, CC: clang, CXX: clang++, python: "3.12" }
- { os: macos-13, CC: clang, CXX: clang++, python: "3.11" }
name: ${{ matrix.os }}.${{ matrix.CC }}.python-${{ matrix.python }}
- { os: ubuntu-24.04-arm, CC: gcc-11, CXX: g++-11, python: '3.12', buildtype: 'Release' }
- { os: ubuntu-20.04, CC: gcc-10, CXX: g++-10, python: '3.8', buildtype: 'Release' }
- { os: ubuntu-22.04, CC: gcc, CXX: g++, python: '3.9', buildtype: 'Release' }
- { os: ubuntu-latest, CC: gcc, CXX: g++, python: '3.10', buildtype: 'Debug' }
- { os: ubuntu-latest, CC: clang, CXX: clang++, python: '3.11', buildtype: 'Debug' }
- { os: ubuntu-latest, CC: gcc-12, CXX: g++-12, python: '3.12', buildtype: 'Release' }
- { os: ubuntu-latest, CC: gcc, CXX: g++, python: '3.13', buildtype: 'Release' }
- { os: macos-latest, CC: clang, CXX: clang++, python: "3.12", buildtype: 'Release' }
- { os: macos-13, CC: clang, CXX: clang++, python: "3.11", buildtype: 'Release' }
name: ${{ matrix.os }}.${{ matrix.CC }}.python-${{ matrix.python }}-${{ matrix.buildtype }}
runs-on: ${{ matrix.os }}
env:
CC: ${{ matrix.CC }}
Expand All @@ -60,7 +58,7 @@ jobs:
cmake
-S ${{github.workspace}}/src
-B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=${{ matrix.buildtype }}
-DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
-DNCRYSTAL_ENABLE_EXAMPLES=ON
-DNCRYSTAL_BUILD_STRICT=ON
Expand All @@ -71,7 +69,7 @@ jobs:
run: >
cmake
--build ${{github.workspace}}/build
--config Release
--config ${{ matrix.buildtype }}
- name: CTest (from the build area)
run: |
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ v4.0.0 2025-02-06
updated to support a variety of other compilers and other
dependencies. This notably includes support for the Intel OneAPI
compilers, but also C++20, Python 3.13, Numpy 2, and of course Microsoft
VisualStudio. Drop support for Python 3.6 and 3.7. FIXME CI test py3.8!
VisualStudio. Drop support for Python 3.6 and 3.7.
* As part of the efforts to make NCrystal command-line tools easily work on
Windows, the various commandline tools of NCrystal (nctool,
ncrystal_cif2ncmat, ncrystal_hfg2ncmat, etc.), are now better integrated
Expand Down

0 comments on commit 77a403c

Please sign in to comment.