diff --git a/.github/workflows/build_cuda.yml b/.github/workflows/build_cuda.yml deleted file mode 100644 index 3b627500..00000000 --- a/.github/workflows/build_cuda.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Build CUDA Linux - -on: - push: - branches: - - master - tags: - - '*' - pull_request: - branches: - - master - -jobs: - build_wheels: - name: Build wheel on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest] - - steps: - - uses: actions/checkout@master - - - name: Build wheels - uses: pypa/cibuildwheel@v2.23 - with: - package-dir: backend/cuda - config-file: backend/cuda/cibuildwheel.toml - output-dir: wheelhouse - - - name: Upload artifacts to github - uses: actions/upload-artifact@v5 - with: - name: wheels-cuda-${{ matrix.os }} - path: ./wheelhouse diff --git a/.github/workflows/build_cuda_windows.yml b/.github/workflows/build_cuda_windows.yml deleted file mode 100644 index c0dd6020..00000000 --- a/.github/workflows/build_cuda_windows.yml +++ /dev/null @@ -1,64 +0,0 @@ -name: Build CUDA Windows - -on: - push: - branches: - - master - tags: - - '*' - pull_request: - branches: - - master - -env: - CUDATOOLKIT_URL: https://developer.download.nvidia.com/compute/cuda/12.6.3/local_installers/cuda_12.6.3_561.17_windows.exe - CUDATOOLKIT_COMPONENTS: nvcc_12.6 cudart_12.6 cublas_dev_12.6 curand_dev_12.6 cusparse_dev_12.6 thrust_12.6 visual_studio_integration_12.6 - -jobs: - build_wheels: - name: Build wheel on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - defaults: - run: - shell: cmd - strategy: - fail-fast: false - matrix: - os: [windows-2022] - - steps: - - uses: actions/checkout@master - - - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v2.0.0 - - - name: Add Windows SDK - run: | - choco install windows-sdk-8.1 - - - name: cache install cuda - id: cache-install - uses: actions/cache@v4 - with: - path: C:\Program Files (x86)\Intel\oneAPI\ - key: install-${{ env.CUDATOOLKIT_URL }}-${{ env.CUDATOOLKIT_COMPONENTS }} - - - name: install cuda - if: steps.cache-install.outputs.cache-hit != 'true' - run: | - curl.exe --output %TEMP%\cuda.exe --url %CUDATOOLKIT_URL% --retry 5 --retry-delay 5 - start /b /wait %TEMP%\cuda.exe -s %CUDATOOLKIT_COMPONENTS% - del %TEMP%\cuda.exe - - - name: Build wheels - uses: pypa/cibuildwheel@v3.3.1 - with: - package-dir: backend/cuda - config-file: backend/cuda/cibuildwheel.toml - output-dir: wheelhouse - - - name: Upload artifacts to github - uses: actions/upload-artifact@v5 - with: - name: wheels-cuda-${{ matrix.os }} - path: ./wheelhouse diff --git a/.github/workflows/build_default.yml b/.github/workflows/build_default.yml index d2e152b4..c32ae9cf 100644 --- a/.github/workflows/build_default.yml +++ b/.github/workflows/build_default.yml @@ -40,16 +40,7 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-latest - cibw_archs: "x86_64" - - os: ubuntu-24.04-arm - cibw_archs: "auto" - - os: windows-2022 - cibw_archs: "auto64" - # Include macos-15-intel to get Intel x86_64 macs and macos-latest to get the Aaarch64 macs - - os: macos-15-intel - cibw_archs: "x86_64" - - os: macos-latest + - os: windows-11-arm cibw_archs: "arm64" steps: diff --git a/.github/workflows/build_mkl.yml b/.github/workflows/build_mkl.yml deleted file mode 100644 index 496b7465..00000000 --- a/.github/workflows/build_mkl.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Build MKL Mac/Linux - -on: - push: - branches: - - master - tags: - - '*' - pull_request: - branches: - - master - -jobs: - build_wheels: - name: Build wheel on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - # macos-latest now uses arm64 runners, but MKL is x86_64 only, so restrict to the macos-15-intel runners - # to get x86_64 architecture. - os: [ubuntu-latest, macos-15-intel] - - steps: - - uses: actions/checkout@master - - - name: Build wheels - uses: pypa/cibuildwheel@v3.3.1 - with: - package-dir: backend/mkl - config-file: backend/mkl/cibuildwheel.toml - output-dir: wheelhouse - - - name: Upload artifacts to github - uses: actions/upload-artifact@v5 - with: - name: wheels-mkl-${{ matrix.os }} - path: ./wheelhouse diff --git a/.github/workflows/build_mkl_windows.yml b/.github/workflows/build_mkl_windows.yml deleted file mode 100644 index f4bbe82f..00000000 --- a/.github/workflows/build_mkl_windows.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: Build MKL Windows - -on: - push: - branches: - - master - tags: - - '*' - pull_request: - branches: - - master - -env: - # update urls for oneapi packages according to - # https://github.com/oneapi-src/oneapi-ci/blob/master/.github/workflows/build_all.yml - WINDOWS_BASEKIT_URL: https:/registrationcenter-download.intel.com/akdlm/IRC_NAS/c961e083-5685-4f0b-ada5-c6cf16f561dd/w_BaseKit_p_2023.1.0.47256_offline.exe - WINDOWS_BASEKIT_COMPONENTS: intel.oneapi.win.mkl.devel - - -jobs: - build_wheels: - name: Build wheel on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - defaults: - run: - shell: cmd - strategy: - fail-fast: false - matrix: - os: [windows-2022] - - steps: - - uses: actions/checkout@master - - - name: cache install oneapi - id: cache-install - uses: actions/cache@v4 - with: - path: C:\Program Files (x86)\Intel\oneAPI\ - key: install-${{ env.WINDOWS_BASEKIT_URL }}-${{ env.WINDOWS_BASEKIT_COMPONENTS }} - - - name: install oneapi mkl - if: steps.cache-install.outputs.cache-hit != 'true' - run: | - curl.exe --output %TEMP%\webimage_base.exe --url %WINDOWS_BASEKIT_URL% --retry 5 --retry-delay 5 - start /b /wait %TEMP%\webimage_base.exe -s -x -f webimage_base_extracted --log extract_base.log - del %TEMP%\webimage_base.exe - webimage_base_extracted\bootstrapper.exe -s --action install --components=%WINDOWS_BASEKIT_COMPONENTS% --eula=accept -p=NEED_VS2017_INTEGRATION=0 -p=NEED_VS2019_INTEGRATION=0 --log-dir=. - rd /s/q "webimage_base_extracted" - - - name: Build wheels - uses: pypa/cibuildwheel@v3.3.1 - with: - package-dir: backend/mkl - config-file: backend/mkl/cibuildwheel.toml - output-dir: wheelhouse - - - name: Upload artifacts to github - uses: actions/upload-artifact@v5 - with: - name: wheels-mkl-${{ matrix.os }} - path: ./wheelhouse diff --git a/.github/workflows/build_wasm.yml b/.github/workflows/build_wasm.yml deleted file mode 100644 index 7f516ff8..00000000 --- a/.github/workflows/build_wasm.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Build WASM - -on: - push: - branches: - - master - tags: - - '*' - pull_request: - branches: - - master - -jobs: - build_wheels: - name: Build wasm32 wheels - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@master - - - name: Build wheels - uses: pypa/cibuildwheel@v3.3.1 - env: - CIBW_PLATFORM: pyodide - with: - config-file: cibuildwheel.toml - output-dir: wheelhouse - - - name: Upload artifacts to github - uses: actions/upload-artifact@v5 - with: - name: wheels-wasm32 - path: ./wheelhouse diff --git a/.github/workflows/pre_commit.yml b/.github/workflows/pre_commit.yml deleted file mode 100644 index 8d9a00df..00000000 --- a/.github/workflows/pre_commit.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Pre-commit checks - -on: - push: - # Run this workflow on all branches because it is good to flag these errors - # and this workflow is "cheap" - branches: - - '*' - pull_request: - branches: - - master - -jobs: - precommit: - name: Pre-commit checks - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest] - - steps: - - uses: actions/checkout@master - - - uses: actions/setup-python@v6 - name: Install Python - with: - python-version: '3.9' - - - name: Install package with dev dependencies - run: | - python -m pip install .[dev] - - - name: Pre-commit checks - run: | - pre-commit run --all-files