Skip to content

Commit

Permalink
test windows link path
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-engelmann committed Jul 22, 2024
1 parent 5000a61 commit f185106
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,36 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, macos-latest]

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v2
with:
miniforge-version: latest
- name: Install conda-build
shell: bash -l {0}
run: conda install conda-build setuptools_scm boa git
- name: build package
shell: bash -l {0}
run: |
export SETUPTOOLS_SCM_PRETEND_VERSION=$(python -m setuptools_scm)
echo "Version: "
echo $SETUPTOOLS_SCM_PRETEND_VERSION
conda mambabuild $GITHUB_WORKSPACE --output-folder=$GITHUB_WORKSPACE
- uses: actions/upload-artifact@v3
with:
name: package-${{ github.sha }}
path: ${{ github.workspace }}/**/azint*.bz2

build-win:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
matrix:
os: [windows-latest]

steps:
- uses: actions/checkout@v3
Expand All @@ -24,6 +53,7 @@ jobs:
- name: build package
shell: bash -l {0}
run: |
rm /usr/bin/link
export SETUPTOOLS_SCM_PRETEND_VERSION=$(python -m setuptools_scm)
echo "Version: "
echo $SETUPTOOLS_SCM_PRETEND_VERSION
Expand Down

0 comments on commit f185106

Please sign in to comment.