summaryrefslogtreecommitdiffstats
path: root/github_build.sh
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-07-20 12:50:21 -0700
committerGitHub <noreply@github.com>2023-07-20 12:50:21 -0700
commit76fe0a1dcc73af87846bf27932716188d68d37f0 (patch)
tree8e16a66c9bb4bd3527011adc580ab36b0c3863fe /github_build.sh
parentb959836483030dabd63a4618418386a3f7144028 (diff)
Add linux arm64 self-hosted CI. (#3003)
* Add linux arm64 self-hosted CI. * Update CI build script. * fix * Ignore test if FileCheck not found. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'github_build.sh')
-rw-r--r--github_build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/github_build.sh b/github_build.sh
index b9c0f24da..357989ccc 100644
--- a/github_build.sh
+++ b/github_build.sh
@@ -1,6 +1,10 @@
#!/usr/bin/env bash
# Get premake
+if [[ "aarch64" == "${ARCH}" ]]; then
+wget https://github.com/shader-slang/slang-binaries/blob/master/premake/premake-5.0.0-alpha16/bin/linux-arm64/premake5?raw=true -O premake5
+else
wget https://github.com/shader-slang/slang-binaries/blob/master/premake/premake-5.0.0-alpha16/bin/linux-64/premake5?raw=true -O premake5
+fi
chmod u+x premake5
# generate slang-tag-version.h