Update builds and CI/CD (#2306)
This commit is contained in:
@@ -9,7 +9,7 @@ jobs:
|
|||||||
- name: Python Setup
|
- name: Python Setup
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.13"
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
||||||
- name: Install Packages (apt)
|
- name: Install Packages (apt)
|
||||||
|
|||||||
@@ -10,13 +10,13 @@ jobs:
|
|||||||
needs: buildAssets
|
needs: buildAssets
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
PYTHON_VERSION: "3.12"
|
PYTHON_VERSION: "3.13"
|
||||||
LINUX_TAG: "manylinux_2_28_x86_64"
|
LINUX_TAG: "manylinux_2_28_x86_64"
|
||||||
steps:
|
steps:
|
||||||
- name: Python Setup
|
- name: Python Setup
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.11"
|
python-version: "3.13"
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
||||||
- name: Install Packages (pip)
|
- name: Install Packages (pip)
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
needs: buildAssets
|
needs: buildAssets
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
env:
|
env:
|
||||||
PYTHON_VERSION: "3.12"
|
PYTHON_VERSION: "3.13"
|
||||||
PACKAGE_ARCH: x86_64
|
PACKAGE_ARCH: x86_64
|
||||||
MINICONDA_ARCH: x86_64
|
MINICONDA_ARCH: x86_64
|
||||||
steps:
|
steps:
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
needs: buildAssets
|
needs: buildAssets
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
env:
|
env:
|
||||||
PYTHON_VERSION: "3.12"
|
PYTHON_VERSION: "3.13"
|
||||||
PACKAGE_ARCH: aarch64
|
PACKAGE_ARCH: aarch64
|
||||||
MINICONDA_ARCH: arm64
|
MINICONDA_ARCH: arm64
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
- name: Python Setup
|
- name: Python Setup
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.13"
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
||||||
- name: Checkout Source
|
- name: Checkout Source
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ jobs:
|
|||||||
- name: Python Setup
|
- name: Python Setup
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.11"
|
python-version: "3.13"
|
||||||
architecture: x64
|
architecture: x64
|
||||||
- name: Install Packages (apt)
|
- name: Install Packages (apt)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Python Setup
|
- name: Python Setup
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.13"
|
||||||
architecture: x64
|
architecture: x64
|
||||||
- name: Install Packages (brew)
|
- name: Install Packages (brew)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Python Setup
|
- name: Python Setup
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.13"
|
||||||
architecture: x64
|
architecture: x64
|
||||||
- name: Checkout Source
|
- name: Checkout Source
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
+2
-2
@@ -273,7 +273,7 @@ if __name__ == "__main__":
|
|||||||
cmdBuildAppImage = parsers.add_parser(
|
cmdBuildAppImage = parsers.add_parser(
|
||||||
"build-appimage", help=(
|
"build-appimage", help=(
|
||||||
"Build an AppImage. "
|
"Build an AppImage. "
|
||||||
"Argument --linux-tag defaults manylinux_2_28_x86_64, and --python-version to 3.11."
|
"Argument --linux-tag defaults manylinux_2_28_x86_64, and --python-version to 3.13."
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
cmdBuildAppImage.add_argument(
|
cmdBuildAppImage.add_argument(
|
||||||
@@ -286,7 +286,7 @@ if __name__ == "__main__":
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
cmdBuildAppImage.add_argument(
|
cmdBuildAppImage.add_argument(
|
||||||
"--python-version", default="3.11", help="Python version (e.g. 3.11)"
|
"--python-version", default="3.13", help="Python version (e.g. 3.13)"
|
||||||
)
|
)
|
||||||
cmdBuildAppImage.set_defaults(func=utils.build_appimage.appImage)
|
cmdBuildAppImage.set_defaults(func=utils.build_appimage.appImage)
|
||||||
|
|
||||||
|
|||||||
@@ -43,8 +43,8 @@ def appImage(args: argparse.Namespace) -> None:
|
|||||||
)
|
)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if sys.platform == "linux":
|
if sys.platform != "linux":
|
||||||
print("ERROR: Command 'build-ubuntu' can only be used on Linux")
|
print("ERROR: Command 'build-appimage' can only be used on Linux")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
print("")
|
print("")
|
||||||
|
|||||||
Reference in New Issue
Block a user