Remove rocm libtorch pre-cxx11 ABI option from preview (#1857) #625
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- site | |
workflow_dispatch: | |
jobs: | |
tests: | |
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | |
secrets: inherit | |
with: | |
runner: linux.12xlarge | |
repository: pytorch/pytorch.github.io | |
docker-image: cimg/ruby:2.7-node | |
secrets-env: PYTORCHBOT_TOKEN | |
script: | | |
git config --global --add safe.directory /__w/pytorch.github.io/pytorch.github.io | |
set -euxo pipefail | |
## Bundle Install | |
cd | |
mkdir .bundle | |
bundle config path '~/vendor/bundle' | |
git clone https://github.com/pytorch/pytorch.github.io.git | |
cd pytorch.github.io | |
bundle install | |
## Yarn Install | |
yarn install --cache-folder ~/.cache/yarn | |
## Notedown Install | |
sudo apt update && sudo apt install python3-pip && sudo -H pip3 install pyrsistent==0.16 notedown pyyaml -Iv nbformat==5.7 | |
## Configure Bot | |
git config --global user.email "[email protected]" | |
git config --global user.name "Website Deployment Script" | |
## Build Jekyll site and push to master | |
./scripts/deploy-site.sh build |