Skip to content

Remove unused-but-set variables in glow/glow/tests/unittests/BackendTestUtils.cpp +1 #128

Remove unused-but-set variables in glow/glow/tests/unittests/BackendTestUtils.cpp +1

Remove unused-but-set variables in glow/glow/tests/unittests/BackendTestUtils.cpp +1 #128

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: |
# temporarily get the job green before we complete the migration.
exit 0
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 apt-get update;
mkdir ~/tempdownload;
cd ~/tempdownload;
wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.1p1.tar.gz;
tar zxvf openssh-8.1p1.tar.gz;
cd openssh-8.1p1 && ./configure && make && sudo make install;
cd $original_pwd
git submodule sync
git submodule update --recursive --init
set -e
# Build
.github/build.sh
# Test
.github/test.sh