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

bpo-45695: Test out-of-tree builds on GHA (GH-29904) #29904

Merged
merged 2 commits into from
Dec 4, 2021

Conversation

tiran
Copy link
Member

@tiran tiran commented Dec 3, 2021

The Ubuntu test runner now configures and compiles CPython out of tree.
The source directory is a read-only bind mount to ensure that the build
cannot create or modify any files in the source tree.

Signed-off-by: Christian Heimes christian@python.org

https://bugs.python.org/issue45695

@tiran tiran force-pushed the gha-oot-build branch 10 times, most recently from 023dd43 to f9459e7 Compare December 3, 2021 13:10
@tiran tiran changed the title Test OOT builds in GHA bpo-45695: Test out-of-tree builds on GHA Dec 3, 2021
@tiran tiran force-pushed the gha-oot-build branch 2 times, most recently from 99c9ce5 to 1b7504c Compare December 3, 2021 14:17
@tiran tiran marked this pull request as ready for review December 3, 2021 22:17
tiran added 2 commits December 4, 2021 10:29
The Ubuntu test runner now configures and compiles CPython out of tree.
The source directory is a read-only bind mount to ensure that the build
cannot create or modify any files in the source tree.

For testing the source directory is re-mounted writable. 15 test modules
depend on writable sources and lack of .pyc files slows CI down.

Signed-off-by: Christian Heimes <christian@python.org>
@tiran tiran changed the title bpo-45695: Test out-of-tree builds on GHA bpo-45695: Test out-of-tree builds on GHA (GH-29904) Dec 4, 2021
@tiran tiran merged commit cee07b1 into python:main Dec 4, 2021
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.

5 participants