Skip to content
Closed
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
30 changes: 24 additions & 6 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .ci_support/linux_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
channel_sources:
- conda-forge/label/ansys-pythonnet_rc,conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
target_platform:
- linux-64
14 changes: 14 additions & 0 deletions .ci_support/linux_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
channel_sources:
- conda-forge/label/ansys-pythonnet_rc,conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.11.* *_cpython
target_platform:
- linux-64
14 changes: 14 additions & 0 deletions .ci_support/linux_64_python3.12.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
channel_sources:
- conda-forge/label/ansys-pythonnet_rc,conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.12.* *_cpython
target_platform:
- linux-64
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
python_min:
- '3.10'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313
target_platform:
- linux-64
12 changes: 12 additions & 0 deletions .ci_support/win_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
channel_sources:
- conda-forge/label/ansys-pythonnet_rc,conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
target_platform:
- win-64
12 changes: 12 additions & 0 deletions .ci_support/win_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
channel_sources:
- conda-forge/label/ansys-pythonnet_rc,conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.11.* *_cpython
target_platform:
- win-64
12 changes: 12 additions & 0 deletions .ci_support/win_64_python3.12.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
channel_sources:
- conda-forge/label/ansys-pythonnet_rc,conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.12.* *_cpython
target_platform:
- win-64
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ channel_sources:
- conda-forge/label/ansys-pythonnet_rc,conda-forge
channel_targets:
- conda-forge main
python_min:
- '3.10'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313
target_platform:
- win-64
48 changes: 42 additions & 6 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,42 @@ jobs:
max-parallel: 50
matrix:
include:
- CONFIG: linux_64_
- CONFIG: linux_64_python3.10.____cpython
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
tools_install_dir: ~/miniforge3
build_workspace_dir: build_artifacts
docker_run_args:
- CONFIG: linux_64_python3.11.____cpython
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
tools_install_dir: ~/miniforge3
build_workspace_dir: build_artifacts
docker_run_args:
- CONFIG: linux_64_python3.12.____cpython
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
tools_install_dir: ~/miniforge3
build_workspace_dir: build_artifacts
docker_run_args:
- CONFIG: linux_64_python3.13.____cp313
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
tools_install_dir: ~/miniforge3
build_workspace_dir: build_artifacts
docker_run_args:
steps:

- name: Checkout code
Expand All @@ -37,11 +67,13 @@ jobs:
id: build-linux
if: matrix.os == 'ubuntu'
env:
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONFIG: ${{ matrix.CONFIG }}
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
CI: github_actions
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.docker_run_args }}"
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
Expand All @@ -61,13 +93,17 @@ jobs:
else
export IS_PR_BUILD="False"
fi
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
echo "::endgroup::"
./.scripts/run_docker_build.sh

- name: Build on macOS
id: build-macos
if: matrix.os == 'macos'
env:
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONFIG: ${{ matrix.CONFIG }}
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
CI: github_actions
Expand All @@ -86,6 +122,8 @@ jobs:
else
export IS_PR_BUILD="False"
fi
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
./.scripts/run_osx_build.sh

- name: Build on windows
Expand All @@ -98,10 +136,8 @@ jobs:
set "sha=%GITHUB_SHA%"
call ".scripts\run_win_build.bat"
env:
# default value; make it explicit, as it needs to match with artefact
# generation below. Not configurable for now, can be revisited later
CONDA_BLD_PATH: C:\bld
MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
PYTHONUNBUFFERED: 1
CONFIG: ${{ matrix.CONFIG }}
CI: github_actions
Expand Down
2 changes: 1 addition & 1 deletion .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .scripts/run_win_build.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 26 additions & 5 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{% set name = "pyaedt" %}
{% set version = "0.28.0" %}
{% set version = "1.0.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/pyaedt-{{ version }}.tar.gz
sha256: 95fa8059cfe5b1ad53a6fbd86a61466a15303c857c7ac96372071336da5183f9
sha256: 1f43e5745541709f1e6caf4b70fbd64c0171edbf3be0ddaf8a310d4c52e8f20a

build:
skip: true # [osx or py<310]
script: python -m pip install . -vv --no-deps --no-build-isolation
number: 2
number: 0

requirements:
build:
Expand Down