Skip to content

Commit

Permalink
Specify workflow CMake build type as "Release".
Browse files Browse the repository at this point in the history
  • Loading branch information
samyarsadat committed Jul 27, 2024
1 parent b96579f commit 6c15803
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-pico-scripts/pico-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set -e
SOURCE_DIR=$1
OUTPUT_DIR="build"
BOARD_NAME="pico"
CMAKE_ARGS=""
CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Release"
MAKEFILES_GENERATOR="Unix Makefiles"

# Validate arguments
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pico-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
output_dir: "build"
output_ext: "*.uf2 *.elf *.elf.map *.hex *.bin *.dis"
output_ignored_dirs: "src/lib"
cmake_args: "-DCMAKE_BUILD_TYPE=Release"

- name: Upload Pico Source Code Artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 6c15803

Please sign in to comment.