File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121jobs :
2222 build-ubuntu :
23- name : >-
24- Ubuntu
25- strategy :
26- fail-fast : false
27- matrix :
28- bolt :
29- - false
30- free-threading :
31- - false
32- os :
33- - ubuntu-24.04
34- uses : ./.github/workflows/reusable-ubuntu.yml
35- with :
36- config_hash : ${{ needs.build-context.outputs.config-hash }}
37- bolt-optimizations : ${{ matrix.bolt }}
38- free-threading : ${{ matrix.free-threading }}
39- os : ${{ matrix.os }}
23+ name : build and test (ubuntu-24.04)
24+ runs-on : ubuntu-24.04
25+ timeout-minutes : 60
26+ env :
27+ OPENSSL_VER : 3.0.15
28+ PYTHONSTRICTEXTENSIONBUILD : 1
29+ TERM : linux
30+ steps :
31+ - uses : actions/checkout@v4
32+ with :
33+ persist-credentials : false
34+ - name : Register gcc problem matcher
35+ run : echo "::add-matcher::.github/problem-matchers/gcc.json"
36+ - name : Install dependencies
37+ run : sudo ./.github/workflows/posix-deps-apt.sh
38+ - name : Runner image version
39+ run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
40+ - name : Configure CPython
41+ # `test_unpickle_module_race` writes to the source directory, which is
42+ # read-only during builds — so we exclude it from profiling with BOLT.
43+ run : >-
44+ PROFILE_TASK='-m test --pgo --ignore test_unpickle_module_race'
45+ ./configure
46+ --config-cache
47+ --with-pydebug
48+ --enable-slower-safety
49+ --enable-safety
50+ --with-openssl="$OPENSSL_DIR"
51+ - name : Display build info
52+ run : make pythoninfo
53+ - name : Tests
54+ run : ./python -m test -j4
You can’t perform that action at this time.
0 commit comments