Skip to content

Commit 7e79607

Browse files
authored
Fix distcheck configure args
1 parent 6c39ef9 commit 7e79607

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,19 @@ jobs:
9292
- name: Set configure arguments
9393
run: |
9494
echo "GH_OLA_CONFIGURE_ARGS=${{ matrix.configure-args }}" >> $GITHUB_ENV
95+
- name: Set distcheck configure arguments
96+
if: matrix.task == 'distcheck'
97+
run: |
98+
echo "DISTCHECK_CONFIGURE_FLAGS=${{ matrix.configure-args }}" >> $GITHUB_ENV
9599
- name: Set additional Linux configure arguments
96100
if: runner.os == 'Linux'
97101
# Silence all deprecated declarations on Linux due to auto_ptr making the build log too long
98102
run: |
99103
echo "GH_OLA_CONFIGURE_ARGS=$GH_OLA_CONFIGURE_ARGS CPPFLAGS=-Wno-deprecated-declarations" >> $GITHUB_ENV
104+
- name: Set additional Linux distcheck configure arguments
105+
if: matrix.task == 'distcheck'
106+
run: |
107+
echo "DISTCHECK_CONFIGURE_FLAGS=${{ matrix.configure-args }} CPPFLAGS=-Wno-deprecated-declarations" >> $GITHUB_ENV
100108
- name: Print configure command
101109
run: echo "./configure $GH_OLA_CONFIGURE_ARGS"
102110
- name: Configure

0 commit comments

Comments
 (0)