Skip to content

Commit

Permalink
Enable minimal optimization to get warning-generating control/data-fl…
Browse files Browse the repository at this point in the history
…ow analysis
  • Loading branch information
PhilMiller authored and aaraney committed Apr 2, 2024
1 parent aaa6873 commit 11aa6fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_run_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
run: |
cd ./test
make clean
make 'CFLAGS=-g -fsanitize=address -Werror'
make 'CFLAGS=-g -Og -fsanitize=address -Werror'
./run_bmi_unit_test
- name: Build and Run Standalone
run: |
cd src/
make clean
make 'CFLAGS=-g -fsanitize=address -Werror'
make 'CFLAGS=-g -Og -fsanitize=address -Werror'
cd ..
./run_bmi
2 changes: 1 addition & 1 deletion .github/workflows/ngen_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
mod-dir: " extern/topmodel/"
targets: "topmodelbmi"
initialize: "false"
cmake-flags: "-DCMAKE_C_FLAGS='-g -fsanitize=address -Werror'"
cmake-flags: "-DCMAKE_C_FLAGS='-g -Og -fsanitize=address -Werror'"

- name: Run petbmi, topmodelbmi
run: |
Expand Down

0 comments on commit 11aa6fb

Please sign in to comment.