Skip to content

Commit

Permalink
build-wheel-and-repair.yml -> attempt adding MSVC setup to possibly i…
Browse files Browse the repository at this point in the history
…mprove wheel
  • Loading branch information
jdegenstein authored Jul 15, 2024
1 parent 755441f commit cc8ca3e
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build-wheel-and-repair.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create Python Wheel and Repair
name: Create ocp-addons Python Wheel and Repair

on:
workflow_dispatch
Expand Down Expand Up @@ -50,16 +50,26 @@ jobs:
if: ${{ matrix.os == 'windows-2019' }}
shell: bash -l {0}
run: |
micromamba install vs2019_win-64 -c conda-forge
pip install delvewheel
micromamba info
micromamba list
- name: Build Wheel
- name: Setup Windows build environment (MSVC)
if: ${{ runner.os == 'Windows' }}
uses: ilammy/msvc-dev-cmd@v1

- name: Build Wheel (non Windows)
if: ${{ matrix.os != 'windows-2019' }}
shell: bash -l {0}
run: |
python -m build -n
- name: Build Wheel (Windows)
if: ${{ matrix.os == 'windows-2019' }}
shell: cmd
run: |
python -m build -n
- name: Repair Linux Wheel (x86_64) # TODO: eliminate hardcoded GLIBC ver
if: ${{ matrix.os == 'ubuntu-22.04' }}
shell: bash -l {0}
Expand Down

0 comments on commit cc8ca3e

Please sign in to comment.