mirror of https://github.com/python/cpython
gh-125741: Update `build.yml` for the new check_autoconf_regen job (#125772)
This commit is contained in:
parent
7d88140d52
commit
f36d37bbaf
|
@ -536,6 +536,7 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
- check_source # Transitive dependency, needed to access `run_tests` value
|
- check_source # Transitive dependency, needed to access `run_tests` value
|
||||||
- check-docs
|
- check-docs
|
||||||
|
- check_autoconf_regen
|
||||||
- check_generated_files
|
- check_generated_files
|
||||||
- build_macos
|
- build_macos
|
||||||
- build_ubuntu
|
- build_ubuntu
|
||||||
|
@ -571,6 +572,7 @@ jobs:
|
||||||
${{
|
${{
|
||||||
needs.check_source.outputs.run_tests != 'true'
|
needs.check_source.outputs.run_tests != 'true'
|
||||||
&& '
|
&& '
|
||||||
|
check_autoconf_regen,
|
||||||
check_generated_files,
|
check_generated_files,
|
||||||
build_macos,
|
build_macos,
|
||||||
build_ubuntu,
|
build_ubuntu,
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
||||||
# autoconf-archive is needed by autoreconf (check_generated_files job)
|
|
||||||
apt-get -yq install \
|
apt-get -yq install \
|
||||||
build-essential \
|
build-essential \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
autoconf-archive \
|
|
||||||
ccache \
|
ccache \
|
||||||
gdb \
|
gdb \
|
||||||
lcov \
|
lcov \
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -e -x
|
set -e -x
|
||||||
|
|
||||||
# The check_generated_files job of .github/workflows/build.yml must kept in
|
# The check_autoconf_regen job of .github/workflows/build.yml must kept in
|
||||||
# sync with this script. Use the same container image than the job so the job
|
# sync with this script. Use the same container image than the job so the job
|
||||||
# doesn't need to run autoreconf in a container.
|
# doesn't need to run autoreconf in a container.
|
||||||
IMAGE="ghcr.io/python/autoconf:2024.10.11.11293396815"
|
IMAGE="ghcr.io/python/autoconf:2024.10.11.11293396815"
|
||||||
|
|
Loading…
Reference in New Issue