From: Ilia Shipitsin Date: Tue, 13 May 2025 18:36:41 +0000 (+0200) Subject: CI: compliance: limit run on forks only to manual + cleanup X-Git-Tag: v3.2-dev16~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01225f9aa523f67f02ee2ba98e7c110800e12cb7;p=thirdparty%2Fhaproxy.git CI: compliance: limit run on forks only to manual + cleanup --- diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 29af0a9e8..6f8d1efc6 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -11,13 +11,8 @@ permissions: 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 @@ -28,12 +23,12 @@ jobs: 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