Skip to content

Commit 1cae7bf

Browse files
committed
fix
1 parent 83b5436 commit 1cae7bf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
- uses: actions/checkout@v4
5555
- name: Runner image version
5656
run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
57+
- name: Check Autoconf and aclocal versions
58+
run: |
59+
grep "Generated by GNU Autoconf 2.71" configure
60+
grep "aclocal 1.16.5" aclocal.m4
61+
grep -q "runstatedir" configure
62+
grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4
5763
- name: Regenerate autoconf files
5864
# Same command used by Tools/build/regen-configure.sh ($AUTORECONF)
5965
run: autoreconf -ivf -Werror
@@ -94,19 +100,13 @@ jobs:
94100
# Include env.pythonLocation in key to avoid changes in environment when setup-python updates Python
95101
key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}-${{ env.pythonLocation }}
96102
- name: Install Dependencies
97-
run: ./.github/workflows/posix-deps-apt.sh
103+
run: sudo ./.github/workflows/posix-deps-apt.sh
98104
- name: Add ccache to PATH
99105
run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
100106
- name: Configure ccache action
101107
uses: hendrikmuhs/[email protected]
102108
with:
103109
save: false
104-
- name: Check Autoconf and aclocal versions
105-
run: |
106-
grep "Generated by GNU Autoconf 2.71" configure
107-
grep "aclocal 1.16.5" aclocal.m4
108-
grep -q "runstatedir" configure
109-
grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4
110110
- name: Configure CPython
111111
run: |
112112
# Build Python with the libpython dynamic library

0 commit comments

Comments
 (0)