Skip to content

Commit 12aa1d1

Browse files
committed
try CFLAGS
1 parent f5dd440 commit 12aa1d1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/actions/build_pandas/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ inputs:
77
meson_args:
88
description: Extra flags to pass to meson
99
required: false
10+
cflags_adds:
11+
description: Items to append to the CFLAGS variable
12+
required: false
1013
runs:
1114
using: composite
1215
steps:
@@ -27,6 +30,7 @@ runs:
2730

2831
- name: Build Pandas
2932
run: |
33+
export CFLAGS="$CFLAGS ${{ inputs.cflags_adds }}"
3034
if [[ ${{ inputs.editable }} == "true" ]]; then
3135
pip install -e . --no-build-isolation -v --no-deps ${{ inputs.meson_args }}
3236
else

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,7 @@ jobs:
324324
uses: ./.github/actions/build_pandas
325325
with:
326326
meson_args: --config-settings=setup-args="-Db_sanitize=address,undefined"
327-
env:
328-
CFLAGS="$CFLAGS -fno-sanitize-recover=all"
327+
cflags_adds: -fno-sanitize-recover=all
329328

330329
- name: Test (not single_cpu)
331330
uses: ./.github/actions/run-tests

0 commit comments

Comments
 (0)