Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
Build using Windows-2019
  • Loading branch information
oleksandr-pavlyk committed Nov 4, 2024
1 parent ad9a7ed commit a827ef7
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
path: /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.tar.bz2

build_and_test_windows:
runs-on: windows-latest
runs-on: windows-2019

strategy:
matrix:
Expand All @@ -61,15 +61,25 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v2

- uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: true
conda-build-version: "*"
activate-environment: true
miniforge-variant: Miniforge3
miniforge-version: latest
activate-environment: build
channels: conda-forge
python-version: ${{ matrix.python }}


- name: Install conda build
run: |
conda activate
conda install -y conda-build
conda list -n base
- name: Build conda package
run: conda build --python ${{ matrix.python }} -c conda-forge --override-channels conda-recipe
run: |
conda activate
conda build --python ${{ matrix.python }} -c conda-forge --override-channels conda-recipe
- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit a827ef7

Please sign in to comment.