GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — numpy/.github/workflows/wheels.yml at main · numpy/numpy 143 lines (129 loc) · 5.63 KB / Copy pathwheels.ymlFile metadata and controls143 lines (129 loc) · 5.63 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 # Workflow to build and test wheels, similarly to numpy/numpy-release. # To work on these jobs in a fork, comment out: # # if: github.repository == 'numpy/numpy' name: Wheel builder on: pull_request: branches: - main - maintenance/** paths-ignore: - '**.pyi' - '**.md' - '**.rst' - 'tools/stubtest/**' workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true permissions: contents: read # to fetch code (actions/checkout) jobs: build_wheels: name: Build wheel ${{ matrix.python }}-${{ matrix.buildplat[1] }}-${{ matrix.buildplat[2] }} # To enable this job on a fork, comment out: if: github.repository == 'numpy/numpy' runs-on: ${{ matrix.buildplat[0] }} strategy: fail-fast: false matrix: # Github Actions doesn't support pairing matrix values together, let's improvise # https://github.com/github/feedback/discussions/7835#discussioncomment-1769026 buildplat: - [ubuntu-22.04, manylinux_x86_64, ""] - [ubuntu-22.04, musllinux_x86_64, ""] - [ubuntu-22.04-arm, manylinux_aarch64, ""] - [ubuntu-22.04-arm, musllinux_aarch64, ""] - [macos-15, macosx_arm64, openblas] - [windows-2022, win_amd64, ""] - [windows-11-arm, win_arm64, ""] # GitHub Actions doesn’t currently support the Android emulator on any ARM # runner. So we build for ARM on a non-ARM runner, which will skip the tests. - [ubuntu-24.04, android_arm64_v8a] - [ubuntu-24.04, android_x86_64] python: ["cp313"] include: # Cover free-threaded wheel packaging and OpenBLAS on Intel macOS. - buildplat: [macos-15-intel, macosx_x86_64, openblas] python: "cp314t" steps: - name: Checkout numpy uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: submodules: true persist-credentials: false - name: win_arm64 - set environment variables if: ${{ matrix.buildplat[1] == 'win_arm64' }} run: | echo "CC=clang-cl" >> $env:GITHUB_ENV echo "CXX=clang-cl" >> $env:GITHUB_ENV echo "FC=flang" >> $env:GITHUB_ENV - name: pkg-config-for-win if: runner.os == 'windows' run: | $CIBW = "${{ github.workspace }}/.openblas" # pkgconfig needs a complete path, and not just "./openblas since the # build is run in a tmp dir (?) # It seems somewhere in the env passing, `\` is not # passed through, so convert it to '/' $CIBW = $CIBW.replace("\","/") echo "CIBW_ENVIRONMENT_WINDOWS=PKG_CONFIG_PATH=$CIBW" >> $env:GITHUB_ENV - name: Setup macOS if: matrix.buildplat[1] == 'macosx_x86_64' || matrix.buildplat[1] == 'macosx_arm64' run: | # Needed due to https://github.com/actions/runner-images/issues/3371 # Supported versions: https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md echo "FC=gfortran-13" >> "$GITHUB_ENV" echo "F77=gfortran-13" >> "$GITHUB_ENV" echo "F90=gfortran-13" >> "$GITHUB_ENV" if [[ ${{ matrix.buildplat[2] }} == 'accelerate' ]]; then # macosx_arm64 and macosx_x86_64 with accelerate # only target Sonoma onwards CIBW="MACOSX_DEPLOYMENT_TARGET=14.0 INSTALL_OPENBLAS=false RUNNER_OS=macOS" echo "CIBW_ENVIRONMENT_MACOS=$CIBW" >> "$GITHUB_ENV" else # macosx_x86_64 with OpenBLAS # if INSTALL_OPENBLAS isn't specified then scipy-openblas is automatically installed CIBW="RUNNER_OS=macOS" PKG_CONFIG_PATH="$PWD/.openblas" DYLD="$DYLD_LIBRARY_PATH:/$PWD/.openblas/lib" echo "CIBW_ENVIRONMENT_MACOS=$CIBW PKG_CONFIG_PATH=$PKG_CONFIG_PATH DYLD_LIBRARY_PATH=$DYLD" >> "$GITHUB_ENV" fi - name: Build wheels uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5 with: only: ${{ matrix.python }}-${{ matrix.buildplat[1] }} - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: ${{ matrix.python }}-${{ matrix.buildplat[1] }}-${{ matrix.buildplat[2] }} path: ./wheelhouse/*.whl build_ios_wheels: name: Build wheels cp314-iOS-arm64-accelerate (device and simulator) if: github.repository == 'numpy/numpy' runs-on: macos-26 env: # ACCELERATE_NEW_LAPACK with ILP64 requires iOS 16.4 or higher. CIBW_ENVIRONMENT_IOS: IPHONEOS_DEPLOYMENT_TARGET=17.0 # Meson's build directory must not be shared across cross-compilation targets. CIBW_BEFORE_BUILD_IOS: rm -rf build steps: - name: Checkout numpy uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: submodules: true persist-credentials: false # Together these take about 14 minutes, so share a runner and checkout. - name: Build iOS device wheel uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5 with: only: cp314-ios_arm64_iphoneos - name: Build and test iOS simulator wheel if: ${{ !cancelled() }} uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5 with: only: cp314-ios_arm64_iphonesimulator - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: cp314-ios-arm64-accelerate path: ./wheelhouse/*.whl |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |