Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/simplified build #1

Closed
wants to merge 10 commits into from
Closed

Conversation

florianesser-tng
Copy link

Simplify build, so it is hardly dependent on developer actions or OS. THis was mostly achieved by commiting to the npm scripts as core build engine. What remains is the manual (outside npm scripts) step to install the libUV dependency (e.g. by miniforge3).

Then, introduce github action to actually build releases.

 - fix bug, where python lib basicsr requires pytorch already
   being present at pip install time => pip  install must be
   executed in two steps, first install pytorch, then every-
   thing else
 - fix file encoding of license.rft: the encoding was some dos specific
   crosscompiling the electron app caused problems; the license could
   also not be rendered completely; it contained weird symbols when
   the installer was compiled from dos system
   unix fix: iconv -f windows-1252 -t utf-8 license.rft
 - structure build scripts a little bit, so they are easier to understand
 - use cross-env in npm commands, so paths specified in package.json work
   in all envs.

Signed-off-by: Florian Esser <[email protected]>
most of the resources required to build the project
you can easily get by a simply wget command.
The future of the conda dependency is unclear to me
hence require manual effort there instead of guessing
an incertain solution.

Signed-off-by: Florian Esser <[email protected]>
exclude conda dependency from build
this is OS dependent

Signed-off-by: Florian Esser <[email protected]>
Signed-off-by: Florian Esser <[email protected]>
let OS specifics be handled by action
instead of hassling with it.

Signed-off-by: Florian Esser <[email protected]>
Signed-off-by: Florian Esser <[email protected]>
instead of a hardcoded ref,
find the installer.exe by file name
ending.

Signed-off-by: Florian Esser <[email protected]>
by github action

Signed-off-by: Florian Esser <[email protected]>
@florianesser-tng
Copy link
Author

closing in favor of #2 : adjusted target and rebased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant