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

CI: miscellaneous fixes for Release builds #1781

Merged
merged 1 commit into from
Jan 7, 2023
Merged

CI: miscellaneous fixes for Release builds #1781

merged 1 commit into from
Jan 7, 2023

Conversation

ashay
Copy link
Collaborator

@ashay ashay commented Jan 6, 2023

  • Use v3 of actions/checkout, since the version we use (v2) uses
    Node.js 12, which is deprecated by GitHub.

  • Source the PowerShell venv sctipt (instead of the bash sript) since
    the calling script is a PowerShell script. Without this, the build
    doesn't use venv at all.

  • Make the build dependencies in whl-requirements.txt (used by
    setup.py) match those in requirements.txt. To that end, this patch
    creates a build-requirements.txt that is referenced by
    requirements.txt and whl-requirements.txt.

 - Use v3 of actions/checkout, since the version we use (v2) uses
   Node.js 12, which is deprecated by GitHub.

 - Source the PowerShell venv sctipt (instead of the bash sript) since
   the calling script is a PowerShell script.  Without this, the build
   doesn't use venv at all.

 - Make the build dependencies in whl-requirements.txt (used by
   setup.py) match those in requirements.txt.  To that end, this patch
   creates a build-requirements.txt that is referenced by
   requirements.txt and whl-requirements.txt.
@ashay ashay merged commit a897c49 into llvm:main Jan 7, 2023
@ashay ashay deleted the ashay/misc-release-build-fixes branch January 7, 2023 02:41
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.

2 participants