Skip to content

Commit

Permalink
Use O0 instead of Og because of optimized out vars
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Sep 22, 2023
1 parent c316d02 commit e667c13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
working-directory: test

- name: Set debug flags
run: echo "CFLAGS=-Og -g" >> $GITHUB_ENV
run: echo "CFLAGS=-O0 -g" >> $GITHUB_ENV
if: ${{ inputs.optimized-or-debug == 'debug' }}

- name: Set optimized flags
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
working-directory: test

- name: Set debug flags
run: echo "CFLAGS=-Og -g" >> $GITHUB_ENV
run: echo "CFLAGS=-O0 -g" >> $GITHUB_ENV
if: ${{ inputs.optimized-or-debug == 'debug' }}

- name: Set optimized flags
Expand Down Expand Up @@ -281,7 +281,7 @@ jobs:
submodules: recursive

- name: Set debug flags
run: echo "CFLAGS=-Og -g" >> $GITHUB_ENV
run: echo "CFLAGS=-O0 -g" >> $GITHUB_ENV
if: ${{ inputs.optimized-or-debug == 'debug' }}

- name: Set optimized flags
Expand Down

0 comments on commit e667c13

Please sign in to comment.