Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Sep 7, 2023
1 parent 4cced48 commit 10a1de2
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,38 @@ jobs:
name: tensordict-batch.whl
path: dist/*.whl

build-wheel-mac-m1:
runs-on: osx-arm64
strategy:
matrix:
python_version: [["3.8", "3.8"], ["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"]]
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version[1] }}
architecture: x64
- name: Checkout tensordict
uses: actions/checkout@v2
- name: Install PyTorch RC
run: |
python3 -mpip install torch --extra-index-url https://download.pytorch.org/whl/cpu
- name: Build wheel
run: |
export CC=clang CXX=clang++
python3 -mpip install wheel
BUILD_VERSION=0.1.3 python3 setup.py bdist_wheel
- name: Upload wheel for the test-wheel job
uses: actions/upload-artifact@v2
with:
name: tensordict-mac-${{ matrix.python_version[0] }}.whl
path: dist/tensordict-*.whl
- name: Upload wheel for download
uses: actions/upload-artifact@v2
with:
name: tensordict-batch.whl
path: dist/*.whl

build-wheel-windows:
runs-on: windows-latest
strategy:
Expand Down

0 comments on commit 10a1de2

Please sign in to comment.