Skip to content

Create OS-specific wheels as pipeline artifacts  #1165

@PProfizi

Description

@PProfizi

Following the integration of ansys-dpf-gatebin binaries in ansys-dpf-core, it does create some issues in some deployment contexts, requiring to create OS-specific ansys_dpf_core wheels:

  • ansys_dpf_core-X.Y.Z-py3-none-win_amd64.whl, contains gatebin for windows
  • ansys_dpf_core-X.Y.Z-py3-none-manylinux_2_17_x86_64.whl, contains gatebin for manylinux_2_17
  • ansys_dpf_core-X.Y.Z-py3-none-manylinux1_x86_64.whl, contains gatebin for manylinux1
  • ansys_dpf_core-X.Y.Z-py3-none-any.whl (for Darwin a.k.a. macOS), does not contain gatebin

The pipelines thus need changing so that these are output artifacts, most likely of the tests jobs, during the action which creates the wheel:

  • Jobs run on a Linux ubuntu-latest runner build, test, and output a manylinux_2_17 version of the wheel as artifact
  • Jobs run on a Windows windows-latest runner build, test, and output a win_amd64 version of the wheel as artifact
  • Independent jobs build and output the manylinux1 and any versions of the wheel

The four wheels should also:

  • be released to PyPI during the release pipeline
  • be put as assets of the GH Release.

Metadata

Metadata

Assignees

Labels

CI/CDRelated to CI/CD

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions