Skip to content

Commit

Permalink
codeql-platform.yml (#326)
Browse files Browse the repository at this point in the history
Removes the -t and -a command flags for the codeql-platform.yml workflow
when executing stuart_build. Neither of these command line arguments are
provided by the edk2_platform_build invocable. the target is set via
TARGET=<value> for platforms, and the architecture is not set at all, as
platforms hardcode the required architectures.

Sets the target via the expected way, TARGET=DEBUG.
  • Loading branch information
Javagedes authored Mar 1, 2024
1 parent 17c85e3 commit 3a9daad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .sync/workflows/leaf/codeql-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ jobs:
env:
RUST_ENV_CHECK_TOOL_EXCLUSIONS: "cargo fmt, cargo tarpaulin"
STUART_CODEQL_PATH: ${{ steps.cache_key_gen.outputs.codeql_cli_ext_dep_dir }}
run: stuart_build -c ${{ matrix.build_file }} -t DEBUG -a ${{ matrix.archs }} TOOL_CHAIN_TAG=${{ matrix.tool_chain_tag }} --codeql
run: stuart_build -c ${{ matrix.build_file }} TARGET=DEBUG TOOL_CHAIN_TAG=${{ matrix.tool_chain_tag }} --codeql

- name: Build Cleanup
id: build_cleanup
Expand Down

0 comments on commit 3a9daad

Please sign in to comment.