Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Build and Deploy Package

on: workflow_dispatch
on:
workflow_dispatch:
inputs:
upload_to_pypi:
description: 'Upload to PyPI after building'
required: true
default: false
type: boolean

jobs:
build_wheels:
Expand All @@ -11,14 +18,15 @@ jobs:
os: [ubuntu-22.04, macos-13, windows-latest]

env:
CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* pp37-* pp38-* pp39-* pp310-*"
CIBW_SKIP: "cp36-* pp* *-win_arm64 *-musllinux_aarch64"
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
CIBW_SKIP: "*-win_arm64 *-musllinux_aarch64"
CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"

steps:
- uses: actions/checkout@v5
with:
submodules: "recursive"
fetch-depth: 0

- name: Setup QEMU # Needed to build aarch64 wheels
if: runner.os == 'Linux'
Expand All @@ -27,7 +35,7 @@ jobs:
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@v2.23.3
uses: pypa/cibuildwheel@v3.2.1

- uses: actions/upload-artifact@v5
with:
Expand All @@ -46,12 +54,13 @@ jobs:
- uses: actions/checkout@v5
with:
submodules: "recursive"
fetch-depth: 0

- name: Build wheels
uses: pypa/cibuildwheel@v2.23.3
uses: pypa/cibuildwheel@v3.2.1
env:
CIBW_BUILD: ${{ matrix.cibw_build }}
CIBW_SKIP: "cp36-* pp*"
CIBW_SKIP: "pp*"
CIBW_ARCHS: ${{ matrix.cibw_archs }}
CIBW_REPAIR_WHEEL_COMMAND: |
echo "Target delocate archs: {delocate_archs}"
Expand Down Expand Up @@ -87,6 +96,7 @@ jobs:
- uses: actions/checkout@v5
with:
submodules: "recursive"
fetch-depth: 0

- name: Build sdist
run: |
Expand All @@ -101,7 +111,7 @@ jobs:
upload_pypi:
needs: [build_wheels, build_wheels_macos_arm64, build_sdist]
runs-on: ubuntu-22.04
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
if: ${{ inputs.upload_to_pypi }}
steps:
- uses: actions/download-artifact@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04, macos-13, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v5
Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ from scratch the latest version is recommended.
.. csv-table::
:header: "LittleFS Version", "Package Version", "LittleFS File System Version"

2.11.2, v0.15.X, 2.0 / 2.1 [#f1]_
2.11.0, v0.14.X, 2.0 / 2.1 [#f1]_
2.10.0, v0.13.X, 2.0 / 2.1 [#f1]_
2.9.0, v0.12.X v0.11.X, 2.0 / 2.1 [#f1]_
Expand Down
Loading