forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into complex-cov
- Loading branch information
Showing
1,101 changed files
with
50,642 additions
and
34,889 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,7 +128,7 @@ jobs: | |
if: needs.check_source.outputs.run_tests == 'true' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.x' | ||
- name: Restore config.cache | ||
|
@@ -142,6 +142,8 @@ jobs: | |
run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV | ||
- name: Configure ccache action | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
save: false | ||
- name: Check Autoconf and aclocal versions | ||
run: | | ||
grep "Generated by GNU Autoconf 2.71" configure | ||
|
@@ -187,13 +189,13 @@ jobs: | |
if: needs.check_source.outputs.run_tests == 'true' | ||
uses: ./.github/workflows/reusable-windows.yml | ||
|
||
build_windows_free_threaded: | ||
name: 'Windows (free-threaded)' | ||
build_windows_free_threading: | ||
name: 'Windows (free-threading)' | ||
needs: check_source | ||
if: needs.check_source.outputs.run_tests == 'true' | ||
uses: ./.github/workflows/reusable-windows.yml | ||
with: | ||
free-threaded: true | ||
free-threading: true | ||
|
||
build_macos: | ||
name: 'macOS' | ||
|
@@ -203,14 +205,14 @@ jobs: | |
with: | ||
config_hash: ${{ needs.check_source.outputs.config_hash }} | ||
|
||
build_macos_free_threaded: | ||
name: 'macOS (free-threaded)' | ||
build_macos_free_threading: | ||
name: 'macOS (free-threading)' | ||
needs: check_source | ||
if: needs.check_source.outputs.run_tests == 'true' | ||
uses: ./.github/workflows/reusable-macos.yml | ||
with: | ||
config_hash: ${{ needs.check_source.outputs.config_hash }} | ||
free-threaded: true | ||
free-threading: true | ||
|
||
build_ubuntu: | ||
name: 'Ubuntu' | ||
|
@@ -225,8 +227,8 @@ jobs: | |
--with-pydebug \ | ||
--with-openssl=$OPENSSL_DIR | ||
build_ubuntu_free_threaded: | ||
name: 'Ubuntu (free-threaded)' | ||
build_ubuntu_free_threading: | ||
name: 'Ubuntu (free-threading)' | ||
needs: check_source | ||
if: needs.check_source.outputs.run_tests == 'true' | ||
uses: ./.github/workflows/reusable-ubuntu.yml | ||
|
@@ -284,6 +286,8 @@ jobs: | |
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV | ||
- name: Configure ccache action | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
save: false | ||
- name: Configure CPython | ||
run: ./configure --config-cache --with-pydebug --with-openssl=$OPENSSL_DIR | ||
- name: Build CPython | ||
|
@@ -327,6 +331,8 @@ jobs: | |
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV | ||
- name: Configure ccache action | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
save: false | ||
- name: Setup directory envs for out-of-tree builds | ||
run: | | ||
echo "CPYTHON_RO_SRCDIR=$(realpath -m ${GITHUB_WORKSPACE}/../cpython-ro-srcdir)" >> $GITHUB_ENV | ||
|
@@ -395,7 +401,7 @@ jobs: | |
-x test_subprocess \ | ||
-x test_signal \ | ||
-x test_sysconfig | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: hypothesis-example-db | ||
|
@@ -446,6 +452,9 @@ jobs: | |
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV | ||
- name: Configure ccache action | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
save: ${{ github.event_name == 'push' }} | ||
max-size: "200M" | ||
- name: Configure CPython | ||
run: ./configure --config-cache --with-address-sanitizer --without-pymalloc | ||
- name: Build CPython | ||
|
@@ -483,14 +492,14 @@ jobs: | |
output-sarif: true | ||
sanitizer: ${{ matrix.sanitizer }} | ||
- name: Upload crash | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
if: failure() && steps.build.outcome == 'success' | ||
with: | ||
name: ${{ matrix.sanitizer }}-artifacts | ||
path: ./out/artifacts | ||
- name: Upload SARIF | ||
if: always() && steps.build.outcome == 'success' | ||
uses: github/codeql-action/upload-sarif@v2 | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: cifuzz-sarif/results.sarif | ||
checkout_path: cifuzz-sarif | ||
|
@@ -504,12 +513,12 @@ jobs: | |
- check-docs | ||
- check_generated_files | ||
- build_macos | ||
- build_macos_free_threaded | ||
- build_macos_free_threading | ||
- build_ubuntu | ||
- build_ubuntu_free_threaded | ||
- build_ubuntu_free_threading | ||
- build_ubuntu_ssltests | ||
- build_windows | ||
- build_windows_free_threaded | ||
- build_windows_free_threading | ||
- test_hypothesis | ||
- build_asan | ||
- cifuzz | ||
|
@@ -537,12 +546,12 @@ jobs: | |
&& ' | ||
check_generated_files, | ||
build_macos, | ||
build_macos_free_threaded, | ||
build_macos_free_threading, | ||
build_ubuntu, | ||
build_ubuntu_free_threaded, | ||
build_ubuntu_free_threading, | ||
build_ubuntu_ssltests, | ||
build_windows, | ||
build_windows_free_threaded, | ||
build_windows_free_threading, | ||
build_asan, | ||
' | ||
|| '' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.