Skip to content

Commit 8eb1ae9

Browse files
authored
Merge pull request #22338 from github/redsun82-go-autobuild-linux-arm64
Go: support linux-arm64 in autobuild scripts
2 parents 9d247d6 + 33c26b0 commit 8eb1ae9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

go/codeql-tools/autobuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu
44

5-
if [ "$CODEQL_PLATFORM" != "linux64" ] && [ "$CODEQL_PLATFORM" != "osx64" ] ; then
5+
if [ "$CODEQL_PLATFORM" != "linux64" ] && [ "$CODEQL_PLATFORM" != "linux-arm64" ] && [ "$CODEQL_PLATFORM" != "osx64" ] ; then
66
echo "Automatic build detection for $CODEQL_PLATFORM is not implemented."
77
exit 1
88
fi

go/codeql-tools/identify-environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu
44

5-
if [ "$CODEQL_PLATFORM" != "linux64" ] && [ "$CODEQL_PLATFORM" != "osx64" ] ; then
5+
if [ "$CODEQL_PLATFORM" != "linux64" ] && [ "$CODEQL_PLATFORM" != "linux-arm64" ] && [ "$CODEQL_PLATFORM" != "osx64" ] ; then
66
echo "Automatic build detection for $CODEQL_PLATFORM is not implemented."
77
exit 1
88
fi

go/codeql-tools/index.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu
44

5-
if [ "$CODEQL_PLATFORM" != "linux64" ] && [ "$CODEQL_PLATFORM" != "osx64" ] ; then
5+
if [ "$CODEQL_PLATFORM" != "linux64" ] && [ "$CODEQL_PLATFORM" != "linux-arm64" ] && [ "$CODEQL_PLATFORM" != "osx64" ] ; then
66
echo "Automatic build detection for $CODEQL_PLATFORM is not implemented."
77
exit 1
88
fi

0 commit comments

Comments
 (0)