10000 Update wheels_build.yml · chengzeyi/stable-fast@f40a1d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Update wheels_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzeyi authored Feb 9, 2024
1 parent 0e32534 commit f40a1d7
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/wheels_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,23 +136,27 @@ jobs:

- if: runner.os == 'Linux'
name: (Linux) install cuda
run: >
# yum install wget git prename -y &&
# yum clean all --verbose &&
sudo apt update && sudo apt install -y wget git rename &&
sudo apt clean -y && sudo apt autoremove -y &&
wget -q "${{ steps.cuda_info.outputs.CUDA_INSTALL_SCRIPT }}" -O cuda.run &&
sh ./cuda.run --silent --toolkit --toolkitpath=/usr/local/cuda --no-opengl-libs --no-man-page --no-drm &&
rm ./cuda.run &&
echo "CUDA_HOME=/usr/local/cuda" >> ${GITHUB_ENV} &&
run: |
# yum install wget git prename -y
# yum clean all --verbose
sudo apt update
sudo apt install -y wget git rename
sudo apt clean -y
sudo apt autoremove -y
wget -q "${{ steps.cuda_info.outputs.CUDA_INSTALL_SCRIPT }}" -O cuda.run
sh ./cuda.run --silent --toolkit --toolkitpath=/usr/local/cuda --no-opengl-libs --no-man-page --no-drm
rm ./cuda.run
echo "CUDA_HOME=/usr/local/cuda" >> ${GITHUB_ENV}
echo "PATH=/usr/local/cuda/bin:$PATH" >> ${GITHUB_ENV}
- if: runner.os == 'Linux'
name: (Linux) install python
run: >
sudo add-apt-repository ppa:deadsnakes/ppa -y &&
sudo apt update && sudo apt install -y python${{ inputs.python }} python${{ inputs.python }}-dev python${{ inputs.python }}-venv &&
sudo apt clean -y && sudo apt autoremove -y
run: |
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt update
sudo apt install -y python${{ inputs.python }} python${{ inputs.python }}-dev python${{ inputs.python }}-venv
sudo apt clean -y
sudo apt autoremove -y
- name: Recursive checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit f40a1d7

Please sign in to comment.
0