apt-get -> yum #44
Workflow file for this run
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 glow | |
on: | |
pull_request: | |
push: | |
branches: | |
- nightly | |
- main | |
- release/* | |
workflow_dispatch: | |
jobs: | |
tests: | |
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | |
with: | |
runner: linux.12xlarge | |
repository: pytorch/glow | |
timeout: 120 | |
script: | | |
echo '::group::Setup Environment Variables' | |
# Mark Build Directory Safe | |
git config --global --add safe.directory /__w/glow/glow | |
# Set CHANNEL | |
if [[(${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then | |
export UPLOAD_CHANNEL=test | |
else | |
export UPLOAD_CHANNEL=nightly | |
fi | |
original_pwd=$(pwd) | |
# sudo yum update | |
mkdir ~/tempdownload; | |
cd ~/tempdownload; | |
wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.1p1.tar.gz; | |
tar zxf openssh-8.1p1.tar.gz; | |
cd openssh-8.1p1 && | |
./configure && | |
make > /dev/null && | |
sudo make install; | |
cd $original_pwd | |
git submodule sync | |
git submodule update --recursive --init | |
set -e | |
# Build | |
chmod +x .github/build.sh .github/test.sh | |
export CIRCLE_JOB=FEATURE_COMPILATION | |
.github/build.sh | |
export CIRCLE_JOB=ASAN | |
.github/build.sh | |
export CIRCLE_JOB=CHECK_CLANG_AND_PEP8_FORMAT | |
.github/build.sh | |
export CIRCLE_JOB=DEBUG | |
.github/build.sh | |
export CIRCLE_JOB=32B_DIM_T | |
.github/build.sh | |
# Test | |
.github/test.sh |