Skip to content

Commit

Permalink
twiddle
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodr committed Sep 25, 2023
1 parent 6d17156 commit a0c664d
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,24 @@ jobs:
CIBW_ARCHS_WINDOWS: x86 AMD64

build-wheels:
name: Build ${{ matrix.only }}
name: Build ${{ matrix.only }} wheel
needs: generate-wheels-matrix
strategy:
matrix:
include: ${{ fromJson(needs.generate-wheels-matrix.outputs.include) }}
runs-on: ${{ matrix.os }}
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 40000
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'

- uses: actions/checkout@v4

- name: Set up QEMU
Expand Down Expand Up @@ -96,8 +107,6 @@ jobs:
- cp310-manylinux_x86_64
- cp311-manylinux_x86_64
steps:
- uses: actions/checkout@v4

- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
Expand All @@ -109,6 +118,8 @@ jobs:
remove-codeql: 'true'
remove-docker-images: 'true'

- uses: actions/checkout@v4

- uses: pypa/[email protected]
env:
CIBW_BEFORE_ALL: "yum install -y yum-utils wget && wget -q https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda-repo-rhel7-11-8-local-11.8.0_520.61.05-1.x86_64.rpm && rpm -i cuda-repo-rhel7-11-8-local-11.8.0_520.61.05-1.x86_64.rpm && yum clean all && yum -y install cuda && yum -y install openblas-devel && yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo && yum clean all"
Expand Down

0 comments on commit a0c664d

Please sign in to comment.