Skip to content

Commit

Permalink
Merge pull request #75 from ruby/enable-debug-build
Browse files Browse the repository at this point in the history
Add debug flags for debug image
  • Loading branch information
hsbt authored Feb 7, 2024
2 parents 1fc3021 + a60188a commit 2cd2c21
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:
echo "target=ruby" >> $GITHUB_ENV
fi
- run: |
if [ "${{ env.image_version_suffix }}" = "-debug" ]; then
echo "cppflags=-DENABLE_PATH_CHECK=0 -DRUBY_DEBUG=1" >> $GITHUB_ENV
echo "optflags=-O3 -fno-inline" >> $GITHUB_ENV
fi
- name: Build docker image
run: |-
rake docker:build ruby_version=${{ env.ruby_version }} \
Expand Down

0 comments on commit 2cd2c21

Please sign in to comment.