summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-29 17:17:41 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-03-29 23:42:14 +0200
commitbce20c2995e275421ab037a67595c289a76e43b8 (patch)
tree58e825a83f3bc2ffab88bc94aaee080287fb6960 /.github
parent72fa0939c6667ba9daf28e3f9fba994120c7233d (diff)
downloadqutebrowser-bce20c2995e275421ab037a67595c289a76e43b8.tar.gz
qutebrowser-bce20c2995e275421ab037a67595c289a76e43b8.zip
scripts: Add --debug to build_release.py
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/bleeding.yml13
1 files changed, 5 insertions, 8 deletions
diff --git a/.github/workflows/bleeding.yml b/.github/workflows/bleeding.yml
index 2ed09ce28..cf65f3dc5 100644
--- a/.github/workflows/bleeding.yml
+++ b/.github/workflows/bleeding.yml
@@ -42,13 +42,11 @@ jobs:
- os: windows-2019
args: --32bit
- os: macos-10.15
- debug: debug
+ args: --debug
- os: windows-2019
- args: --64bit
- debug: debug
+ args: --64bit --debug
- os: windows-2019
- args: --32bit
- debug: debug
+ args: --32bit --debug
runs-on: "${{ matrix.os }}"
timeout-minutes: 30
steps:
@@ -69,10 +67,9 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -U -r misc/requirements/requirements-tox.txt
- - name: Set up debugging build
- if: "${{ matrix.debug }}"
+ - name: Patch qutebrowser for debugging
+ if: "contains(matrix.args, '--debug')"
run: |
- echo "PYINSTALLER_DEBUG=1" >> $GITHUB_ENV
sed -i '' '/.-d., .--debug.,/s/$/ default=True,/' qutebrowser/qutebrowser.py
- name: Run tox
run: "tox -e build-release -- --asciidoc ../asciidoc/asciidoc.py --gh-token ${{ secrets.GITHUB_TOKEN }} ${{ matrix.args }}"