diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2021-07-30 14:21:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 14:21:09 (GMT) |
commit | 7cad0bee80a536c7e47f54cf43174175834f30a0 (patch) | |
tree | 99a374e52a5f29194e463b81c04350b9259a01d7 /.github | |
parent | f4367ba3c533fc2dc9e32aa431d674f715b911f2 (diff) | |
download | cpython-7cad0bee80a536c7e47f54cf43174175834f30a0.zip cpython-7cad0bee80a536c7e47f54cf43174175834f30a0.tar.gz cpython-7cad0bee80a536c7e47f54cf43174175834f30a0.tar.bz2 |
Fail the CI if an optional module fails to compile (GH-27466)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d79999..4081b36 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,6 +119,8 @@ jobs: runs-on: macos-latest needs: check_source if: needs.check_source.outputs.run_tests == 'true' + env: + PYTHONSTRICTEXTENSIONBUILD: 1 steps: - uses: actions/checkout@v2 - name: Configure CPython @@ -137,6 +139,7 @@ jobs: if: needs.check_source.outputs.run_tests == 'true' env: OPENSSL_VER: 1.1.1k + PYTHONSTRICTEXTENSIONBUILD: 1 steps: - uses: actions/checkout@v2 - name: Register gcc problem matcher @@ -227,6 +230,7 @@ jobs: if: needs.check_source.outputs.run_tests == 'true' env: OPENSSL_VER: 1.1.1k + PYTHONSTRICTEXTENSIONBUILD: 1 ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0 steps: - uses: actions/checkout@v2 |