From 76fe0a1dcc73af87846bf27932716188d68d37f0 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 20 Jul 2023 12:50:21 -0700 Subject: 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 --- github_test.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'github_test.sh') 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}/ -- cgit v1.2.3