• Home
  • Raw
  • Download

Lines Matching +full:libpython +full:- +full:dev

3 # gh-84728: "paths-ignore" is not used to skip documentation-only PRs, because
5 # mandatory but not scheduled because of "paths-ignore".
10 - 'main'
11 - '3.11'
12 - '3.10'
13 - '3.9'
14 - '3.8'
15 - '3.7'
18 - 'main'
19 - '3.11'
20 - '3.10'
21 - '3.9'
22 - '3.8'
23 - '3.7'
29 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
30 cancel-in-progress: true
35 runs-on: ubuntu-latest
36 timeout-minutes: 10
42 - uses: actions/checkout@v3
43 - name: Check for source changes
46 if [ -z "$GITHUB_BASE_REF" ]; then
50 git fetch origin $GITHUB_BASE_REF --depth=1
54 # "git fetch --depth=1").
63 # https://github.com/python/core-workflow/issues/373
64 …git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo "run_test…
65 …git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qE '(ssl|hashlib|hmac|^.github)' && echo "r…
67 - name: Compute hash for config cache key
74 runs-on: ubuntu-20.04
78 - uses: actions/checkout@v2
79 - uses: actions/setup-python@v2
80 - name: Install Dependencies
82 sudo ./.github/workflows/posix-deps-apt.sh
83 sudo apt-get install -yq abigail-tools
84 - name: Build CPython
86 CFLAGS: -g3 -O0
88 # Build Python with the libpython dynamic library
89 ./configure --enable-shared
90 make -j4
91 - name: Check for changes in the ABI
94 if ! make check-abidump; then
100 … echo "To learn more about this check: https://devguide.python.org/setup/#regenerate-the-abi-dump"
104 - name: Generate updated ABI files
107 make regen-abidump
108 - uses: actions/upload-artifact@v3
112 name: abi-data
117 runs-on: ubuntu-latest
118 timeout-minutes: 60
122 - uses: actions/checkout@v3
123 - name: Restore config.cache
127 key: ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
128 - uses: actions/setup-python@v3
129 - name: Install Dependencies
130 run: sudo ./.github/workflows/posix-deps-apt.sh
131 - name: Add ccache to PATH
133 - name: Configure ccache action
134 uses: hendrikmuhs/ccache-action@v1.2
135 - name: Check Autoconf version 2.69 and aclocal 1.16.3
139 grep -q "runstatedir" configure
140 grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4
141 - name: Configure CPython
143 # Build Python with the libpython dynamic library
144 ./configure --config-cache --with-pydebug --enable-shared
145 - name: Regenerate autoconf files with container image
146 run: make regen-configure
147 - name: Build CPython
150 # so we run it before regen-global-objects gets rum (in regen-all).
151 make regen-deepfreeze
152 make -j4 regen-all
153 make regen-stdlib-module-names
154 - name: Check for changes
156 git add -u
157 changes=$(git status --porcelain)
159 if test -n "$changes"; then
161 echo "Perhaps you forgot to run make regen-all or build.bat --regen. ;)"
165 git diff --staged || true
168 - name: Check exported libpython symbols
170 - name: Check limited ABI symbols
171 run: make check-limited-abi
175 runs-on: windows-latest
176 timeout-minutes: 60
182 - uses: actions/checkout@v3
183 - name: Build CPython
184 run: .\PCbuild\build.bat -e -d -p Win32
185 - name: Display build info
186 run: .\python.bat -m test.pythoninfo
187 - name: Tests
188 run: .\PCbuild\rt.bat -p Win32 -d -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
192 runs-on: windows-latest
193 timeout-minutes: 60
199 - uses: actions/checkout@v3
200 - name: Register MSVC problem matcher
201 run: echo "::add-matcher::.github/problem-matchers/msvc.json"
202 - name: Build CPython
203 run: .\PCbuild\build.bat -e -d -p x64
204 - name: Display build info
205 run: .\python.bat -m test.pythoninfo
206 - name: Tests
207 run: .\PCbuild\rt.bat -p x64 -d -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
211 runs-on: macos-latest
212 timeout-minutes: 60
221 - uses: actions/checkout@v3
222 - name: Restore config.cache
226 key: ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
227 - name: Install Homebrew dependencies
228 run: brew install pkg-config openssl@1.1 xz gdbm tcl-tk
229 - name: Configure CPython
231 CFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
232 LDFLAGS="-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" \
233 PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \
235 --config-cache \
236 --with-pydebug \
237 --prefix=/opt/python-dev \
238 --with-openssl="$(brew --prefix openssl@1.1)"
239 - name: Build CPython
240 run: make -j4
241 - name: Display build info
243 - name: Tests
244 run: make buildbottest TESTOPTS="-j4 -uall,-cpu"
248 runs-on: ubuntu-20.04
249 timeout-minutes: 60
256 - uses: actions/checkout@v3
257 - name: Register gcc problem matcher
258 run: echo "::add-matcher::.github/problem-matchers/gcc.json"
259 - name: Install Dependencies
260 run: sudo ./.github/workflows/posix-deps-apt.sh
261 - name: Configure OpenSSL env vars
266 - name: 'Restore OpenSSL build'
267 id: cache-openssl
271 key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
272 - name: Install OpenSSL
273 if: steps.cache-openssl.outputs.cache-hit != 'true'
274 …run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $…
275 - name: Add ccache to PATH
278 - name: Configure ccache action
279 uses: hendrikmuhs/ccache-action@v1.2
280 - name: Setup directory envs for out-of-tree builds
282 … echo "CPYTHON_RO_SRCDIR=$(realpath -m ${GITHUB_WORKSPACE}/../cpython-ro-srcdir)" >> $GITHUB_ENV
283 … echo "CPYTHON_BUILDDIR=$(realpath -m ${GITHUB_WORKSPACE}/../cpython-builddir)" >> $GITHUB_ENV
284 - name: Create directories for read-only out-of-tree builds
285 run: mkdir -p $CPYTHON_RO_SRCDIR $CPYTHON_BUILDDIR
286 - name: Bind mount sources read-only
287 run: sudo mount --bind -o ro $GITHUB_WORKSPACE $CPYTHON_RO_SRCDIR
288 - name: Restore config.cache
292 key: ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
293 - name: Configure CPython out-of-tree
294 working-directory: ${{ env.CPYTHON_BUILDDIR }}
296 ../cpython-ro-srcdir/configure \
297 --config-cache \
298 --with-pydebug \
299 --with-openssl=$OPENSSL_DIR
300 - name: Build CPython out-of-tree
301 working-directory: ${{ env.CPYTHON_BUILDDIR }}
302 run: make -j4
303 - name: Display build info
304 working-directory: ${{ env.CPYTHON_BUILDDIR }}
306 - name: Remount sources writable for tests
308 run: sudo mount $CPYTHON_RO_SRCDIR -oremount,rw
309 - name: Tests
310 working-directory: ${{ env.CPYTHON_BUILDDIR }}
311 run: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu"
315 runs-on: ubuntu-20.04
316 timeout-minutes: 60
320 fail-fast: false
329 - uses: actions/checkout@v3
330 - name: Restore config.cache
334 key: ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
335 - name: Register gcc problem matcher
336 run: echo "::add-matcher::.github/problem-matchers/gcc.json"
337 - name: Install Dependencies
338 run: sudo ./.github/workflows/posix-deps-apt.sh
339 - name: Configure OpenSSL env vars
344 - name: 'Restore OpenSSL build'
345 id: cache-openssl
349 key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
350 - name: Install OpenSSL
351 if: steps.cache-openssl.outputs.cache-hit != 'true'
352 …run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $…
353 - name: Add ccache to PATH
356 - name: Configure ccache action
357 uses: hendrikmuhs/ccache-action@v1.2
358 - name: Configure CPython
359 run: ./configure --config-cache --with-pydebug --with-openssl=$OPENSSL_DIR
360 - name: Build CPython
361 run: make -j4
362 - name: Display build info
364 - name: SSL tests
369 runs-on: ubuntu-20.04
370 timeout-minutes: 60
378 - uses: actions/checkout@v3
379 - name: Restore config.cache
383 key: ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
384 - name: Register gcc problem matcher
385 run: echo "::add-matcher::.github/problem-matchers/gcc.json"
386 - name: Install Dependencies
387 run: sudo ./.github/workflows/posix-deps-apt.sh
388 - name: Set up GCC-10 for ASAN
389 uses: egor-tensin/setup-gcc@v1
392 - name: Configure OpenSSL env vars
397 - name: 'Restore OpenSSL build'
398 id: cache-openssl
402 key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
403 - name: Install OpenSSL
404 if: steps.cache-openssl.outputs.cache-hit != 'true'
405 …run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $…
406 - name: Add ccache to PATH
409 - name: Configure ccache action
410 uses: hendrikmuhs/ccache-action@v1.2
411 - name: Configure CPython
412 run: ./configure --config-cache --with-address-sanitizer --without-pymalloc
413 - name: Build CPython
414 run: make -j4
415 - name: Display build info
417 - name: Tests
418 run: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu"