mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Log a success line for each language database found in the Linux Arm64 PR check. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
name: "Linux Arm64"
|
|
description: "An end-to-end integration test running on a Linux Arm64 runner, checking that the native linux-arm64 CodeQL bundle is downloaded and can analyze interpreted and compiled code"
|
|
operatingSystems:
|
|
- os: ubuntu
|
|
runner-image: ubuntu-24.04-arm
|
|
# The native linux-arm64 CodeQL bundle is only available in recent CLI releases, so we restrict this
|
|
# check to `nightly-latest`, which is guaranteed to ship it. Older stable versions do not have an
|
|
# arm64 asset, and `prepare-test` would resolve an x64 bundle URL for them on this runner.
|
|
versions:
|
|
- nightly-latest
|
|
installGo: true
|
|
installDotNet: true
|
|
# The set of languages CodeQL supports on this platform, excluding Swift (macOS only).
|
|
env:
|
|
LANGUAGES: cpp,csharp,go,java,javascript,python,ruby
|
|
steps:
|
|
- uses: ./../action/init
|
|
with:
|
|
languages: ${{ env.LANGUAGES }}
|
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
|
- name: Build code
|
|
run: ./build.sh
|
|
- uses: ./../action/analyze
|
|
with:
|
|
upload-database: false
|
|
- name: Assert databases exist
|
|
run: |
|
|
cd "$RUNNER_TEMP/codeql_databases"
|
|
for lang in ${LANGUAGES//,/ }; do
|
|
if [[ ! -d "$lang" ]]; then
|
|
echo "Did not find a database for $lang"
|
|
exit 1
|
|
fi
|
|
echo "Found database for $lang"
|
|
done
|