53 Commits

Author SHA1 Message Date
Jorrit Wronski
62f9022182 one more typo in the job file 2022-12-08 00:28:51 +01:00
Jorrit Wronski
4fc34ffc98 typo in the job file 2022-12-08 00:20:23 +01:00
Jorrit Wronski
d9d87a960e Simplify the build selector for Python 2022-12-07 23:55:35 +01:00
Jorrit Wronski
a14412559e Automatically convert ARM64 to arm64 2022-12-07 19:58:12 +01:00
Jorrit Wronski
899fc62d64 exclude the undefined architectures 2022-12-07 15:57:11 +01:00
Jorrit Wronski
8375065bc5 back to the old definition 2022-12-07 15:49:13 +01:00
Jorrit Wronski
6bd16ece89 More architecture debugging 2022-12-07 15:46:10 +01:00
Jorrit Wronski
4902147821 Handle missing arch identifier 2022-12-07 15:39:24 +01:00
Jorrit Wronski
8d18be564b Fix the architecture selection 2022-12-07 15:36:49 +01:00
Jorrit Wronski
ae9da6f513 include arm64 for apple silicon 2022-12-07 15:13:32 +01:00
Jorrit Wronski
ab5fbf9203 Update the actions to avoid Node.js 12 warnings 2022-12-07 15:05:03 +01:00
Jorrit Wronski
ea39c01291 Removed multiple builds for X86_64 2022-12-07 14:34:59 +01:00
Jorrit Wronski
4cf9312602 Use exclude patterns instead 2022-12-07 14:32:34 +01:00
Jorrit Wronski
fc59025b50 use the tagged action 2022-12-07 14:04:28 +01:00
Jorrit Wronski
676d3a5a1e Include the full matrix 2022-12-07 14:03:19 +01:00
Jorrit Wronski
42989cbfe5 Pass the OS as part of the call 2022-12-07 13:58:47 +01:00
Jorrit Wronski
15630f600d Debugging the matrix configuration 2022-12-07 13:54:22 +01:00
Jorrit Wronski
c9c7018cf9 Build the wheels with a reusable workflow 2022-12-07 13:47:26 +01:00
Jorrit Wronski
2ba2f122a3 Skip one more cross-compilation architecture 2022-12-07 12:01:45 +01:00
Jorrit Wronski
626f8d4a5f Remove the Windows ARM64 builds for now, more debugging is needed 2022-12-07 11:38:39 +01:00
Jorrit Wronski
720355220d Checking for ARM64 on Windows 2022-12-07 00:05:41 +01:00
Jorrit Wronski
76daa5abe6 Force a native build on Linux instead of 64bit 2022-12-06 23:16:03 +01:00
Jorrit Wronski
61e6ed4577 skip universal2 on macOS 2022-12-06 22:51:03 +01:00
Jorrit Wronski
daa265b55c Do not compile i686 on Linux 2022-12-06 22:47:50 +01:00
Jorrit Wronski
17ee4d2144 Renamed the Python build jobs 2022-12-06 22:40:40 +01:00
Jorrit Wronski
18381431c2 Use the default action to build wheels 2022-12-06 22:38:18 +01:00
Jorrit Wronski
b36940e144 Cleaned up the CI configuration and remove CircleCI and TravisCI 2022-12-06 21:54:58 +01:00
Jorrit Wronski
522e810574 Build the docs for v6.4.2 (#2191)
- Streamlined the build of the HTML documentation based on a private docker image.
- Invoke doxygen and Sphinx to create the final HTML pages.
- Employ a cache for the GitHub actions to store the output of the expensive tasks.
- Restructured the GitHub actions builders and introduced a naming scheme.
- Fixed a few typos in the docs.
- Automatically publish the documentation to GitHub pages.
2022-12-06 21:49:08 +01:00
Jorrit Wronski
3d423d8034 Use the Python directory 2022-12-01 13:06:52 +01:00
Jorrit Wronski
d390c2927b Include folder names 2022-11-30 00:14:17 +01:00
Jorrit Wronski
49c858fc52 Trying to recreate the old file structure for the download server 2022-11-29 23:48:05 +01:00
Jorrit Wronski
3dc9419fad Upload the Windows installer 2022-11-29 23:38:54 +01:00
Jorrit Wronski
c5bb7c32bc Checking the Python wheel configurations 2022-11-29 23:24:51 +01:00
Jorrit Wronski
494bc0299f working on the next release 2022-11-29 22:53:45 +01:00
Jorrit Wronski
cb437eb758 Do not use bash on Windows 2022-11-29 22:09:32 +01:00
Jorrit Wronski
6d0bb613ea Release zip files on Windows instead of tar.gz 2022-11-29 21:19:09 +01:00
Ian Bell
269872964f Turn on wheels for python 3.11 2022-11-21 17:25:55 -05:00
Ian Bell
6f4dfa82c1 Turn musl builds back on 2022-04-20 22:22:51 -04:00
Julien Marrec
c66399d31d Simplify CoolProp python bindings cibuildwheel (#2122)
* Try to simplify cibuildwheel setup

* Split up the builds by python version it takes WAY too long otherwise

About 1h15 on mac, 45 min on windows, and Linux didn't finish (but that's becasue of aarch64 I think)

* Remove linux aarch64: docker is hanging because it doesn't pass the --platform tag correctly

```
 Status: Downloaded newer image for quay.io/pypa/manylinux2014_aarch64:2022-03-31-361e6b6
  WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
  eab86187799169ab1ff12c486be2dbfa69f7a676b9a00c20e297c2207b9c293e
      + /bin/true
  standard_init_linux.go:228: exec user process caused: exec format error
```

* Try to use Cmake for Linux, see if it fixes the whl size (which bloated from 6MB to 42 MB)
2022-04-12 19:04:04 -04:00
Julien Marrec
a5f9344737 Missing a py37 build for Windows x64 + fix py38 win32 and py39 win32 (#2120)
* Missing a py37 build for Windows x64
2022-04-12 14:13:10 -04:00
Julien Marrec
06000823dc I moved the TWINE stuff in the wrong step (#2118) 2022-04-11 20:04:25 -04:00
Julien Marrec
8aa50fc270 Fix mac sed (#2116)
* Minimum fix for sed: mac has a weird sed version...

* Make repalcement from python to avoid dealing with weird sed version on mac

* Try to get the size of the wheels (/!\ 100MB max per upload)

* move setting env vars up a block
2022-04-11 12:35:06 -04:00
Ian Bell
9a0acba19a Add dependencies for getting version in CI 2022-03-31 19:31:09 -04:00
Ian Bell
51740177af Fix sed for versioning of wheels 2022-03-31 19:07:16 -04:00
Ian Bell
f6fbdb2af6 packaging is also needed 2022-03-31 19:01:57 -04:00
Ian Bell
9b03196b44 requests is needed to extract the version 2022-03-31 19:00:17 -04:00
Julien Marrec
76b48b35f2 Configure upload to pypi/testpypi (#2109)
* Enable upload to testpypi

* Figure out the next available version to avoid override (especially for testpypi, shouldn't happen for pypi as we should bump in CMakeLists)
2022-03-31 18:53:39 -04:00
Julien Marrec
c1ed08617e Bump Catch 1 to Catch v3.0.0-preview4 (#2105)
* Bump Catch2 to latest v3.0.0-preview4

Bump Catch2 to latest 2.x: 2.13.8

Rename submodule Catch to Catch2

Add catch2 to ctest

Fix missing ";" in catch tests

Use ctest for catch2: run once with little output, then 2nd time with verbose output for failed tests

Run through CatchTestRunner: TEMP: PICK A STYLE

Update Catch to v3.0.0-preview4

Try to migrate to catch2 v3

Ok it builds and runs, but I'm missing tests

Get all files that have inline tests, now I get same behavior as with catch1

Put back app sources

* Remove the link to coolprop lib since I am now using APP_SOURCES instead of just the specific files with tests
2022-03-31 18:47:00 -04:00
Julien Marrec
05c8cf503b Lint: use automated tooling to reformat C++ and CMakeLists files (#2103)
* Add initial clang tidy / clang format config files

* Clang format the entire codebase

```
find ./src -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./include -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./Web -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./dev -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./wrappers -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
```

* Add a .cmake-format file and reformat CmakeLists.txt with it

https://github.com/cheshirekow/cmake_format

* Add a clang-format workflow


only runs on PRs, only on touched files
2022-03-31 10:51:48 -04:00
Julien Marrec
3b8ed97fbc Github Actions: add shared library and doxygen workflows. (#2098)
* First try at building shared library

* Rename artifact for clarity instead of putting them all in the same

* Add a doxygen worklow

* Extract version from CMakeLists to name the artifacts

* move the extract version bit to a script in dev/ so I can reuse for documentation too

* Disable fail-fast, and don't use fstrings in extract_version.py (mac has a too old python by default, and I don't want to call setuppython actions)

* Mac still picks up a too old python, whatever: just setup any 3.x (it's cached, so quick)

* First try for a Windows Installer package

* forgot to create the build dir

* forgot build type

* Try to re-enable catch2 tests

* adjust

* Leave the coolprop catch2 tests in a separate workflow, since many are currently failing
2022-03-31 10:16:34 -04:00