tidy installer building (#11077)

* tidy installer building

* -d

* fix rpm build

* try for windows

* Install.ps1 -d

* move the install.ps1 call out to the workflow

* Update build_windows.ps1

* Update build_windows.ps1

* debug non-editable install on windows

* platlib and purelib in pyinstaller pathex

* Revert "debug non-editable install on windows"

This reverts commit 7c04168969.

* Revert "platlib and purelib in pyinstaller pathex"

This reverts commit c5c5cdcd81.

* debug

* debug not-editable

* Revert "debug not-editable"

This reverts commit d4373d8e82.

* a bit more similar

* git -C

* find dlls in site-packages?

* oops

* Revert "debug"

This reverts commit 88090f689f.

* consistently name installer github actions artifact zips

* leave SCM_VERSION here

* Update build-windows-installer.yml
This commit is contained in:
Kyle Altendorf
2022-04-29 18:34:48 -07:00
committed by GitHub
parent 387abc3d8e
commit fd9ff115e3
2 changed files with 16 additions and 49 deletions
+15 -3
View File
@@ -21,6 +21,10 @@ jobs:
name: Windows 10 Installer
runs-on: [windows-2019]
timeout-minutes: 50
strategy:
fail-fast: false
matrix:
python-version: [3.9]
steps:
- name: Checkout Code
@@ -61,9 +65,9 @@ jobs:
# We can't upgrade to Python 3.8 until we have a miniupnpc binary
- uses: actions/setup-python@v2
name: Install Python 3.9
name: Install Python ${{ matrix.python-version }}
with:
python-version: "3.9"
python-version: ${{ matrix.python-version }}
- name: Setup Node 16.x
uses: actions/setup-node@v3
@@ -144,6 +148,12 @@ jobs:
Expand-Archive -Path "$env:GITHUB_WORKSPACE\bladebit\bladebit.zip" -DestinationPath "$env:GITHUB_WORKSPACE\bladebit\"
rm "$env:GITHUB_WORKSPACE\bladebit\bladebit.zip"
- name: Run install script
env:
INSTALL_PYTHON_VERSION: ${{ matrix.python-version }}
run: |
.\Install.ps1 -d
- name: Build Windows installer with build_scripts\build_windows.ps1
env:
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
@@ -153,7 +163,9 @@ jobs:
$env:path="C:\Program` Files` (x86)\Microsoft` Visual` Studio\2019\Enterprise\SDK\ScopeCppSDK\vc15\VC\bin\;$env:path"
$env:path="C:\Program` Files` (x86)\Windows` Kits\10\App` Certification` Kit;$env:path"
git -C .\chia-blockchain-gui status
.\build_scripts\build_windows.ps1
.\venv\Scripts\Activate.ps1
cd .\build_scripts
.\build_windows.ps1
- name: Upload Windows exe's to artifacts
uses: actions/upload-artifact@v3