From 33fb95980b0120cdd4d4f2d51f5f116e808dd4aa Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 6 Jan 2023 13:39:06 -0800 Subject: Split bwd_diff op into separate ops for primal and propagate func. (#2582) * Split bwd_diff op into separate ops for primal and propagate func. * Fix. * Download swiftshader with github actions instead of curl on linux. * Fix github action. Co-authored-by: Yong He --- github_test.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'github_test.sh') diff --git a/github_test.sh b/github_test.sh index dc07c6250..fb94c95ac 100644 --- a/github_test.sh +++ b/github_test.sh @@ -30,11 +30,7 @@ TARGET=${PLATFORM}-${ARCHITECTURE} OUTPUTDIR=bin/${TARGET}/${CONFIGURATION}/ if [ "${ARCHITECTURE}" == "x64" -a "${PLATFORM}" != "macosx" ]; then - LOCATION=$(curl -s https://api.github.com/repos/shader-slang/swiftshader/releases/latest \ - | grep "tag_name" \ - | awk '{print "https://github.com/shader-slang/swiftshader/releases/download/" substr($2, 2, length($2)-3) "/vk_swiftshader_linux_x64.zip"}') - curl -L -o libswiftshader.zip $LOCATION - unzip libswiftshader.zip -d $OUTPUTDIR + unzip vk_swiftshader_linux_x64.zip -d $OUTPUTDIR fi SLANG_TEST=${OUTPUTDIR}slang-test -- cgit v1.2.3