summaryrefslogtreecommitdiffstats
path: root/github_test.sh
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-01-06 13:39:06 -0800
committerGitHub <noreply@github.com>2023-01-06 13:39:06 -0800
commit33fb95980b0120cdd4d4f2d51f5f116e808dd4aa (patch)
tree318b1669a0e52aabd11f8694de1278ef7dbc0e3b /github_test.sh
parente70cbe76ce74769069b7384f5f05c62da1ca45ed (diff)
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 <yhe@nvidia.com>
Diffstat (limited to 'github_test.sh')
-rw-r--r--github_test.sh6
1 files changed, 1 insertions, 5 deletions
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