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