|
54 | 54 | - uses: actions/checkout@v4 |
55 | 55 | - name: Runner image version |
56 | 56 | 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 |
57 | 63 | - name: Regenerate autoconf files |
58 | 64 | # Same command used by Tools/build/regen-configure.sh ($AUTORECONF) |
59 | 65 | run: autoreconf -ivf -Werror |
@@ -94,19 +100,13 @@ jobs: |
94 | 100 | # Include env.pythonLocation in key to avoid changes in environment when setup-python updates Python |
95 | 101 | key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}-${{ env.pythonLocation }} |
96 | 102 | - name: Install Dependencies |
97 | | - run: ./.github/workflows/posix-deps-apt.sh |
| 103 | + run: sudo ./.github/workflows/posix-deps-apt.sh |
98 | 104 | - name: Add ccache to PATH |
99 | 105 | run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV |
100 | 106 | - name: Configure ccache action |
101 | 107 | uses: hendrikmuhs/[email protected] |
102 | 108 | with: |
103 | 109 | 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 |
110 | 110 | - name: Configure CPython |
111 | 111 | run: | |
112 | 112 | # Build Python with the libpython dynamic library |
|
0 commit comments