Skip to content

Commit

Permalink
πŸ’š Fix macos whl build
Browse files Browse the repository at this point in the history
  • Loading branch information
yhs0602 committed Jan 8, 2025
1 parent 891f121 commit c0df326
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-package-nocuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
CIBW_ARCHS_WINDOWS: "x86"
CIBW_ARCHS_MACOS: "arm64"
CIBW_ARCHS_LINUX: "i686"
CIBW_BEFORE_MACOS: >
curl -LO https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.5.1.zip
unzip libtorch-macos-arm64-2.5.1.zip
export LIBTORCH=/usr/local/libtorch
CIBW_BEFORE_ALL_MACOS: >
curl -LO https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.5.1.zip &&
unzip libtorch-macos-arm64-2.5.1.zip &&
export LIBTORCH=/usr/local/libtorch &&
sudo mv libtorch $LIBTORCH
- name: Verify clean directory
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# CraftGround - Reinforcement Learning Environment for Minecraft
[![Wheels (No CUDA)](https://github.com/yhs0602/CraftGround/actions/workflows/publish-package-nocuda.yml/badge.svg)](https://github.com/yhs0602/CraftGround/actions/workflows/publish-package-nocuda.yml)
[![Wheels (CUDA-Linux)](https://github.com/yhs0602/CraftGround/actions/workflows/publish-package-cuda-linux.yml/badge.svg)](https://github.com/yhs0602/CraftGround/actions/workflows/publish-package-cuda-linux.yml)
[![Wheels (CUDA-Windows)](https://github.com/yhs0602/CraftGround/actions/workflows/publish-package-cuda-windows.yml/badge.svg)](https://github.com/yhs0602/CraftGround/actions/workflows/publish-package-cuda-windows.yml)
[![Wheels (All))](https://github.com/yhs0602/CraftGround/actions/workflows/publish-upload.yml/badge.svg)](https://github.com/yhs0602/CraftGround/actions/workflows/publish-upload.yml)
[![Python package](https://github.com/yhs0602/CraftGround/actions/workflows/python-ci.yml/badge.svg)](https://github.com/yhs0602/CraftGround/actions/workflows/python-ci.yml)
[![CMake Build](https://github.com/yhs0602/CraftGround/actions/workflows/cmake-build.yml/badge.svg)](https://github.com/yhs0602/CraftGround/actions/workflows/cmake-build.yml)
[![Gradle Build](https://github.com/yhs0602/CraftGround/actions/workflows/gradle.yml/badge.svg)](https://github.com/yhs0602/CraftGround/actions/workflows/gradle.yml)
Expand Down

0 comments on commit c0df326

Please sign in to comment.