Skip to content

Commit

Permalink
Add python source build
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicField committed Oct 15, 2024
1 parent 00622cd commit 6a47564
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/actions/build-python-from-source/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ runs:

# Install the built Python version.
- name: Install Python
if: steps.cpython-cache.outputs.cache-hit != 'true'
shell: bash
run: |
cd cpython
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ jobs:
- name: Install/Upgrade pip
shell: bash
run: |
$LOCAL_PYTHON -P -m ensurepip
$LOCAL_PYTHON -P -m pip install --upgrade pip
cd ..
$LOCAL_PYTHON -m ensurepip
$LOCAL_PYTHON -m pip install --upgrade pip
# Make sure Visual Studio build is all in place on Windows.
- name: Setup MSVC
Expand All @@ -102,7 +103,8 @@ jobs:
- name: Install dependencies
shell: bash
run: |
$LOCAL_PYTHON -P -m pip install --upgrade setuptools wheel
cd ..
$LOCAL_PYTHON -m pip install --upgrade setuptools wheel
# Build the wheel package with or without nogil suffix.
- name: Build
Expand Down

0 comments on commit 6a47564

Please sign in to comment.