jobs:
h2spec:
name: h2spec
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- include:
- - TARGET: linux-glibc
- CC: gcc
- os: ubuntu-latest
+ runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'haproxy' || github.event_name == 'workflow_dispatch' }}
steps:
- uses: actions/checkout@v4
- name: Install h2spec
tar xvf h2spec.tar.gz
sudo install -m755 h2spec /usr/local/bin/h2spec
echo "version=${H2SPEC_VERSION}" >> $GITHUB_OUTPUT
- - name: Compile HAProxy with ${{ matrix.CC }}
+ - name: Compile HAProxy with gcc
run: |
make -j$(nproc) all \
ERR=1 \
- TARGET=${{ matrix.TARGET }} \
- CC=${{ matrix.CC }} \
+ TARGET=linux-glibc \
+ CC=gcc \
DEBUG="-DDEBUG_POOL_INTEGRITY" \
USE_OPENSSL=1
sudo make install