Skip to content

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

Merged
tiran merged 2 commits into
python:mainfrom
tiran:gha-oot-build
Dec 4, 2021
Merged

bpo-45695: Test out-of-tree builds on GHA (GH-29904)#29904
tiran merged 2 commits into
python:mainfrom
tiran:gha-oot-build

Conversation

@tiran

@tirantiran commented Dec 3, 2021

Copy link
Copy Markdown
Member

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
tiranforce-pushed the gha-oot-build branch 10 times, most recently from 023dd43 to f9459e7CompareDecember 3, 2021 13:10
@tirantiran changed the title Test OOT builds in GHAbpo-45695: Test out-of-tree builds on GHADec 3, 2021
@tiran
tiranforce-pushed the gha-oot-build branch 2 times, most recently from 99c9ce5 to 1b7504cCompareDecember 3, 2021 14:17
Comment thread.github/workflows/build.yml Outdated
Comment threadMisc/NEWS.d/next/Tests/2021-12-03-14-19-16.bpo-45695.QKBn2E.rst Outdated
Comment thread.github/workflows/build.yml Outdated
Comment threadMisc/NEWS.d/next/Tests/2021-12-03-14-19-16.bpo-45695.QKBn2E.rst Outdated
@tiran
tiran marked this pull request as ready for review December 3, 2021 22:17
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>
@tirantiran changed the title bpo-45695: Test out-of-tree builds on GHAbpo-45695: Test out-of-tree builds on GHA (GH-29904)Dec 4, 2021
@tiran
tiran merged commit cee07b1 into python:mainDec 4, 2021
Sign up for freeto 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

@tiran@gpshead@zware@the-knights-who-say-ni@bedevere-bot