Skip to content

Commit

Permalink
ci: oneshot-test & pr-test: rebuild PyInstaller's bootloader
Browse files Browse the repository at this point in the history
The PyInstaller's develop branch may contain changes to bootloader
that require bootloader to be rebuilt for PyInstaller at that commit
to be usable. So force bootloader compilation by setting the
PYINSTALLER_COMPILE_BOOTLOADER environment variable.
  • Loading branch information
rokm committed Jul 24, 2022
1 parent 2e897e0 commit b3cfc6c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/oneshot-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ jobs:
# There doesn't seem to be a nice function to cast 'true' to true.
fail-fast: ${{ github.event.inputs.fail-fast == 'true' }}

env:
# Rebuild bootloader when installing PyInstaller from develop branch
PYINSTALLER_COMPILE_BOOTLOADER: 1

# Finally, the usual: setup Python, install dependencies, test.
steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
pyinstaller: ["https://github.com/pyinstaller/pyinstaller/archive/develop.zip"]
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
fail-fast: false

env:
# Rebuild bootloader when installing PyInstaller from develop branch
PYINSTALLER_COMPILE_BOOTLOADER: 1

steps:
- uses: actions/checkout@v2

Expand Down

0 comments on commit b3cfc6c

Please sign in to comment.