Commit Graph

8 Commits

Author SHA1 Message Date
Kyle Altendorf
2ed94c31c9
move electron build config to build_scripts/electron-builder.json (#17007) 2023-12-18 11:12:04 -06:00
Kyle Altendorf
dbf114a524
move pyinstaller.spec out of the package into build_scripts/ (#16342) 2023-09-18 11:29:06 -05:00
Chris Marslender
830134045c
Update build images, python versions, sqlite versions, node versions (#16203)
* Consolidate amd64/arm64 .deb installer workflow to one matrix

* Python + node version update on mac

* Update rpm to latest image + python version

* Update windows python + node version

* Quote all the python versions

* Fix node for .debs

* update to npx for rpm

* Mark workspace safe for rpm

* Use npx for node tools on mac

* npx on windows for node tools

* Set skip package install for rpm

* Revert "Set skip package install for rpm"

This reverts commit f8c5211f8b793fa7e4921a60f5eef5c28ee28868.

* skip-system-installs
2023-09-05 10:10:38 -05:00
Earle Lowe
9c1d285091
Make sure to sign all EXEs (#16141)
* Make sure to sign all EXEs

* type dev->dir

* Adjust code to sign all EXEs
2023-08-23 17:50:36 -05:00
Chris Marslender
a91e8d226c
New windows signing cert (#16032)
* Updates for new windows signing

* Add to PATH
2023-08-14 14:59:30 -05:00
Patrick Maslana
3a2dc484b5
Generate a license directory that contains licenses missing from the installers (#15146)
* Add scripts to build a tree of licenses that are missing from the installers

* Add a line that was accidentally removed

* add steps in the build_license_directory script to install pip-licenses and license-checker

* Pip install pip-license

* Added commands to check the working dir in the build_license_direcotory.sh

* Fix the path for the npm commands

* Copy the library dir over

* Add a line to cd back to the previous dir in the build_licenses_directory.sh file

* Fix path to go back to "build_scripts"

* Fixing a typo with a path in the build_license_directory.sh file

* Troubleshoot path

* Change word from library to licenses

* Add a command to list contents of "dist/$CLI_DEB_BASE/opt/chia/" for troubleshooting

* Copy the license file to the "GUI" directory

* Fix the last for loop

* Move the step to change directory back to build scripts in the build_license_directory.sh file

* Add some more steps to troubleshoot the path and license-checker usage

* Fix a typo

* Add an "npm install ." before running the license-checker

* Fix a typo

* Change back to the build_scripts dir before the first loop in build_license_directory.sh file

* Revert "Change back to the build_scripts dir before the first loop in build_license_directory.sh file"

This reverts commit a3e88a2583.

* Fix the path for moving the license file

* Change the first loop for printing licenses from npm license-checker

* Add steps to copy the license file over to the builds and comment out the "npm install ." step out of the build_license_firectory script

* Add npm ci to the build_license_directory file

* Adding a dir for troubleshooting

* Fix errors in the scripts

* Fix a path to the licenses file

* Remove a dir from the windows installer script

* Remove a copy command

* Remove a few more copy commands

* Adding a ps1 script for usage in the windows installer build script

* Replace the powershell script

* Made a couple changes to the ps1 script for building the license directory

* Remove the ps1 script for building the license dir

* Add a new script for the windows installer to build the license dir

* Fix issues with the code for windows

* Remove the -1 from NF

* Changing the script for windows to test

* Remove filename=$(basename "$i")

* Remove some ls command lines

* Add "cp -r dist/daemon ../chia-blockchain-gui/packages/gui" to the RPM installer script

* Remove "|| 'exit" or "cd' || return" from when CD'ing in the license creation scripts

* Remove extra set of ||
2023-06-21 16:51:05 -05:00
Izumi Hoshino
b3b56a64d1
Replace electron-packager with electron-builder (#12953)
* Install electron-builder

* Replaced electron-packager with electron-builder for windows

* Upgraded electron-builder version for mac

* Replaced electron-packager with electron-builder for Linux and integreated deb/rpm dir

* Updated mac installer job

* Fixed app.asar location

* Fixed dmg name for arm64 mac

* Updated installer-version.py

* Updated Linux(deb) installer CI job

* Updated Linux(rpm) installer CI job

* Fixed Linux(rpm) install CI issue

* Revert to use `electron-packager` instead of `electron-builder` for arm64 .deb installer

* Fixed lint errors

* Fixed rpm installer job issue

* Updated Windows installer CI job

* Fixed rpm installer CI job

* Simplified arm64 build

* Added -y option to `apt install` command

* Added `dmg-license` as npm build dependency for MacOS

* Attempt to set product name appropriately for each platform

* Specified productNames in commands

* Fixed arm64 installer issue

* Stopped to create link '/opt/chia/daemon'

* Updated desktop app name for linux installers

* Updated packageName for linux installers

* Abort build jobs when 'cd' fails

* Updated the GUI submodule ref (main:5e52b7f53478d4f39b4a0f0203f41e31dd53aee9)

Co-authored-by: Jeff Cruikshank <jeff@chia.net>
2022-08-24 20:13:40 -05:00
Izumi Hoshino
4c87c99d15
Improve CI performance (#12523)
* Optimized CI execution times

* Fixed a lint error

* Update GUI cache keys for linux

* Added `git status` and `git submodule` to build_xxx-installer.sh
2022-08-04 12:03:50 -05:00