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 2b68ae9 commit f6ad3c6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build-python-from-source/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
uses: actions/cache/restore@v3
id: cpython-cache
with:
path: ${github.workspace}/cpython
path: cpython
key: ${{ runner.os }}-python-${{ inputs.python-version }}-${{ inputs.nogil }}
restore-keys: ${{ runner.os }}-python-${{ inputs.python-version }}-${{ inputs.nogil }}

Expand Down Expand Up @@ -98,7 +98,7 @@ runs:
if: "!contains(inputs.python-version, 'alpha')"
uses: actions/cache/save@v3
with:
path: ${github.workspace}/cpython
path: cpython
key: ${{ runner.os }}-python-${{ inputs.python-version }}-${{ inputs.nogil }}

# Install the built Python version.
Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,39 +24,39 @@ jobs:
include:
# Add below those versions we want as Gil Based releases.
# Note that 3.12.7 is only availible with the Gil enabled.
#- os: ubuntu-latest
# python-version: '3.12.7'
# build-from-source: false
#- os: ubuntu-latest
# python-version: '3.13.0'
# build-from-source: false
#- os: windows-latest
# python-version: '3.13.0'
# build-from-source: false
#- os: macos-latest
# python-version: '3.13.0'
# build-from-source: false
#- os: ubuntu-latest
# python-version: '3.14.0-alpha.0'
# build-from-source: false
- os: ubuntu-latest
python-version: '3.12.7'
build-from-source: false
- os: ubuntu-latest
python-version: '3.13.0'
build-from-source: false
- os: windows-latest
python-version: '3.13.0'
build-from-source: false
- os: macos-latest
python-version: '3.13.0'
build-from-source: false
- os: ubuntu-latest
python-version: '3.14.0-alpha.0'
build-from-source: false
# Add below those versions we want as Free Threaded releases.
# For these you will need the tag name see: https://github.com/python/cpython/tags
#- os: ubuntu-latest
# python-version: 'v3.13.0'
# build-from-source: true
# nogil: true
- os: ubuntu-latest
python-version: 'v3.13.0'
build-from-source: true
nogil: true
- os: windows-latest
python-version: 'v3.13.0'
build-from-source: true
nogil: true
#- os: macos-latest
# python-version: 'v3.13.0'
# build-from-source: true
# nogil: true
#- os: ubuntu-latest
# python-version: '3.14.0-alpha.0'
# build-from-source: true
# nogil: true
- os: macos-latest
python-version: 'v3.13.0'
build-from-source: true
nogil: true
- os: ubuntu-latest
python-version: '3.14.0-alpha.0'
build-from-source: true
nogil: true

runs-on: ${{ matrix.os }}

Expand Down

0 comments on commit f6ad3c6

Please sign in to comment.