summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-03-15 11:11:26 +1300
committerOlly Betts <olly@survex.com>2022-03-15 11:14:23 +1300
commit9efcc785aeae98b8d46b9d5727e4e38311f6b9b1 (patch)
tree0493f25771cea3a99500407ec0a8415c34971af1 /.github
parent250afd6dc3b5f3aec2b13fb97655bd4b68b28cc2 (diff)
downloadswig-9efcc785aeae98b8d46b9d5727e4e38311f6b9b1.tar.gz
Re-enable symbol poisoning in a CI job
It seems too brittle to enable by default as we'd have to avoid including any system headers after doh.h, which is hard to enforce, but just having it enabled for one CI job should avoid uses of the poisoned symbols from being accidentally introduced. See #2223
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bd83c3f64..e6a45c941 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -30,6 +30,8 @@ jobs:
matrix:
include:
- SWIGLANG: ""
+ env:
+ CPPFLAGS: -DDOH_POISON
- SWIGLANG: ""
GCC: 7
- SWIGLANG: ""