summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-03-15 18:17:18 +1300
committerOlly Betts <olly@survex.com>2022-03-15 18:17:18 +1300
commitf5313e63afc432de17ee5e19f177e163bef84081 (patch)
treef5254c3aa7a592bf6fcb581aee5ad9f48568d416
parent936e9264e81c273ad1c1abd87b9ce350b863cf4f (diff)
downloadswig-f5313e63afc432de17ee5e19f177e163bef84081.tar.gz
[ci] Adjust how CPPFLAGS is set
Set it so it should be visible where the CI log shows the environment, as `make` is run with `-s` so the compile command lines are unhelpfully not shown.
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e6a45c941..0fd4fbe9d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -30,8 +30,7 @@ jobs:
matrix:
include:
- SWIGLANG: ""
- env:
- CPPFLAGS: -DDOH_POISON
+ CPPFLAGS: "-DDOH_POISON"
- SWIGLANG: ""
GCC: 7
- SWIGLANG: ""
@@ -322,6 +321,7 @@ jobs:
GCC: ${{ matrix.GCC }}
CSTD: ${{ matrix.CSTD }}
CPPSTD: ${{ matrix.CPPSTD }}
+ CPPFLAGS: ${{ matrix.CPPFLAGS }}
steps:
- name: Checkout