summaryrefslogtreecommitdiffstats
path: root/github_test.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_test.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_test.sh')
-rw-r--r--github_test.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/github_test.sh b/github_test.sh
index fb94c95ac..274250a7d 100644
--- a/github_test.sh
+++ b/github_test.sh
@@ -1,12 +1,5 @@
#!/usr/bin/env bash
-# CONFIGURATION=release or debug
-if [ "${CC}" == "gcc" ] && [ "${CONFIGURATION}" == "release" ]
-then
- SLANG_TEST_CATEGORY=full
-else
- SLANG_TEST_CATEGORY=smoke
-fi
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCHITECTURE=$(uname -m)
@@ -25,6 +18,14 @@ if [ "${ARCHITECTURE}" == "x86_64" ]; then
ARCHITECTURE="x64"
fi
+# CONFIGURATION=release or debug
+if [ "${CC}" == "gcc" ] && [ "${CONFIGURATION}" == "release" ] && [ "${ARCHITECTURE}" == "x64" ]
+then
+ SLANG_TEST_CATEGORY=full
+else
+ SLANG_TEST_CATEGORY=smoke
+fi
+
TARGET=${PLATFORM}-${ARCHITECTURE}
OUTPUTDIR=bin/${TARGET}/${CONFIGURATION}/