Skip to content

Commit

Permalink
Allow building a debug build by env var
Browse files Browse the repository at this point in the history
  • Loading branch information
cawilliamson committed Sep 2, 2024
1 parent b3d2565 commit 68fd19f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-gsi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
workflow_dispatch:

env:
APPLY_DEBUG_PATCHES: true
DISABLE_RUNNER_CLEANUP: false # should ONLY be set to true for debugging
MAINTAINER: cawilliamson
REPO_NAME: treble_voltage
Expand Down Expand Up @@ -49,6 +50,10 @@ jobs:
# apply personal patches
../patches/apply.sh . personal
working-directory: src
- name: apply debug patches
run: ../patches/apply.sh . debug
working-directory: src
if: ${{ env.APPLY_DEBUG_PATCHES == 'true' }}
- name: setup tmp directory and stash gapps variants
run: |
# create tmp directory
Expand Down

0 comments on commit 68fd19f

Please sign in to comment.