diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index a4fde32..acdda35 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -142,7 +142,7 @@ jobs: pytest -v --pyargs ${{ env.PACKAGE_NAME }} build_windows: - runs-on: windows-2019 + runs-on: windows-latest strategy: matrix: @@ -211,7 +211,7 @@ jobs: matrix: python: ["3.9", "3.10", "3.11", "3.12"] experimental: [false] - runner: [windows-2019] + runner: [windows-latest] continue-on-error: ${{ matrix.experimental }} env: workdir: '${{ github.workspace }}' diff --git a/conda-recipe/conda_build_config.yaml b/conda-recipe/conda_build_config.yaml new file mode 100644 index 0000000..b5671eb --- /dev/null +++ b/conda-recipe/conda_build_config.yaml @@ -0,0 +1,18 @@ +numpy: + - '1.26.4' +c_compiler: # [linux] + - gcc # [linux] +cxx_compiler: # [linux] + - gxx # [linux] +cxx_compiler_version: # [linux] + - '14' # [linux] +c_stdlib: # [linux] + - sysroot # [linux] +c_stdlib_version: # [linux] + - '2.28' # [linux] +c_stdlib: # [win] + - vs # [win] +cxx_compiler: # [win] + - vs2022 # [win] +c_compiler: # [win] + - vs2022 # [win] diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 35b7111..71729f0 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -17,8 +17,8 @@ requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} + - {{ stdlib('c') }} - {{ compiler('dpcpp') }} >=2024.2 # [not osx] - - sysroot_linux-64 >=2.28 # [linux] host: - setuptools >=77 - cmake