From 7a064e98cdde62f00bbd6b3e012c0194c69c1b93 Mon Sep 17 00:00:00 2001 From: jianfengmao Date: Tue, 22 Oct 2024 15:49:59 -0600 Subject: [PATCH] ... --- .github/workflows/build_ft_wheel.yml | 112 +++++++++++++-------------- 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/.github/workflows/build_ft_wheel.yml b/.github/workflows/build_ft_wheel.yml index 267573e..13c72f3 100644 --- a/.github/workflows/build_ft_wheel.yml +++ b/.github/workflows/build_ft_wheel.yml @@ -7,61 +7,61 @@ on: branches: [ 'master', 'release/v*' ] jobs: - bdist-wheels: - runs-on: ${{ matrix.info.machine }} - strategy: - fail-fast: false - matrix: - info: - - { machine: 'ubuntu-20.04', python: '3.13t', arch: 'amd64', cmd: '.github/env/Linux/bdist-wheel.sh' } - - { machine: 'macos-13', python: '3.13t', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' } - - { machine: 'macos-latest', python: '3.13t', arch: 'arm64', cmd: '.github/env/macOS/bdist-wheel.sh' } - - steps: - - uses: actions/checkout@v4 - - - uses: astral-sh/setup-uv@v3 - - run: | - uv python install 3.13t - uv venv --python 3.13t - source .venv/bin/activate - uv pip install pip - echo $JAVA_HOME - echo PATH=$PATH >> $GITHUB_ENV - - - run: ${{ matrix.info.cmd }} - - - uses: actions/upload-artifact@v4 - with: - name: build-${{ matrix.info.python }}-${{ matrix.info.machine }}-${{ matrix.info.arch }} - path: dist/*.whl - retention-days: 1 - - bdist-wheels-windows: - runs-on: ${{ matrix.info.machine }} - strategy: - fail-fast: false - matrix: - info: - - { machine: 'windows-2022', python: '3.13t', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' } - - steps: - - uses: actions/checkout@v4 - - - uses: astral-sh/setup-uv@v3 - - run: | - uv python install 3.13t - uv venv --python 3.13t - .venv\Scripts\Activate.ps1 - uv pip install pip - echo PATH=%PATH% >> $GITHUB_ENV - ${{ matrix.info.cmd }} - - - uses: actions/upload-artifact@v4 - with: - name: build-${{ matrix.info.python }}-${{ matrix.info.machine }}-${{ matrix.info.arch }} - path: dist/*.whl - retention-days: 1 +# bdist-wheels: +# runs-on: ${{ matrix.info.machine }} +# strategy: +# fail-fast: false +# matrix: +# info: +# - { machine: 'ubuntu-20.04', python: '3.13t', arch: 'amd64', cmd: '.github/env/Linux/bdist-wheel.sh' } +# - { machine: 'macos-13', python: '3.13t', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' } +# - { machine: 'macos-latest', python: '3.13t', arch: 'arm64', cmd: '.github/env/macOS/bdist-wheel.sh' } +# +# steps: +# - uses: actions/checkout@v4 +# +# - uses: astral-sh/setup-uv@v3 +# - run: | +# uv python install 3.13t +# uv venv --python 3.13t +# source .venv/bin/activate +# uv pip install pip +# echo $JAVA_HOME +# echo PATH=$PATH >> $GITHUB_ENV +# +# - run: ${{ matrix.info.cmd }} +# +# - uses: actions/upload-artifact@v4 +# with: +# name: build-${{ matrix.info.python }}-${{ matrix.info.machine }}-${{ matrix.info.arch }} +# path: dist/*.whl +# retention-days: 1 +# +# bdist-wheels-windows: +# runs-on: ${{ matrix.info.machine }} +# strategy: +# fail-fast: false +# matrix: +# info: +# - { machine: 'windows-2022', python: '3.13t', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' } +# +# steps: +# - uses: actions/checkout@v4 +# +# - uses: astral-sh/setup-uv@v3 +# - run: | +# uv python install 3.13t +# uv venv --python 3.13t +# .venv\Scripts\Activate.ps1 +# uv pip install pip +# echo PATH=%PATH% >> $GITHUB_ENV +# ${{ matrix.info.cmd }} +# +# - uses: actions/upload-artifact@v4 +# with: +# name: build-${{ matrix.info.python }}-${{ matrix.info.machine }}-${{ matrix.info.arch }} +# path: dist/*.whl +# retention-days: 1 bdist-wheels-linux-aarch64: runs-on: ${{ matrix.info.machine }} @@ -91,7 +91,7 @@ jobs: CIBW_FREE_THREADED_SUPPORT: true CIBW_ARCHS_LINUX: "aarch64" CIBW_BUILD: "cp313t-*" - CIBW_BEFORE_BUILD: yum install -y temurin-8-jdk maven + CIBW_BEFORE_BUILD: yum install -y temurin-8-jdk CIBW_ENVIRONMENT: JAVA_HOME=/usr/lib/jvm/temurin-8-jdk-aarch64 with: