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

M1 macos build system #2504

Merged

Conversation

simmonsj330
Copy link
Contributor

@simmonsj330 simmonsj330 commented Sep 5, 2022

Description

Automation for M1 builds. This creates an unsigned/unnotarized dmg installer. Run on rosetta2 terminal with aws ec2 m1 instance.

Others

  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • My code passes all the checks pylint, flake8, black, ... To speed up development you should run pre-commit install.
  • New and existing unit tests pass locally with my changes. You can test this locally using pytest tests/....

@simmonsj330 simmonsj330 added the build Build-related work label Sep 5, 2022
@simmonsj330 simmonsj330 self-assigned this Sep 5, 2022
@simmonsj330 simmonsj330 merged commit 1766e2f into OpenBB-finance:main Sep 7, 2022
simmonsj330 added a commit that referenced this pull request Sep 7, 2022
* Create m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* taking out notarize and staple

includes codesigning tho

* changing prediction install

I am expecting a code sign error instead of a running the actual executable error. trying with -e prediction instead of -e prediction-m1-mac

* Changing prediction, keeping code signing

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* taking out integration tests

* rerun

* Update m1_macos_build.yml

* adding pred back to turn to false

* making same as upstream release

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
simmonsj330 added a commit that referenced this pull request Sep 9, 2022
* Update pyproject.toml

* Update setup.nsi

* Update feature_flags.py

* M1 macos build system (#2504) (#2514)

* Create m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* taking out notarize and staple

includes codesigning tho

* changing prediction install

I am expecting a code sign error instead of a running the actual executable error. trying with -e prediction instead of -e prediction-m1-mac

* Changing prediction, keeping code signing

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* taking out integration tests

* rerun

* Update m1_macos_build.yml

* adding pred back to turn to false

* making same as upstream release

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* Changing detatch disc location

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
@simmonsj330 simmonsj330 deleted the m1_macos_first_build_system branch September 14, 2022 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build-related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants