Skip to content

try debug

try debug #46

Workflow file for this run

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=DEBUG
.github/build.sh