CI: compliance: limit run on forks only to manual + cleanup
This commit is contained in:
parent
61b30a09c0
commit
01225f9aa5
15
.github/workflows/compliance.yml
vendored
15
.github/workflows/compliance.yml
vendored
@ -11,13 +11,8 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
h2spec:
|
h2spec:
|
||||||
name: h2spec
|
name: h2spec
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
if: ${{ github.repository_owner == 'haproxy' || github.event_name == 'workflow_dispatch' }}
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- TARGET: linux-glibc
|
|
||||||
CC: gcc
|
|
||||||
os: ubuntu-latest
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install h2spec
|
- name: Install h2spec
|
||||||
@ -28,12 +23,12 @@ jobs:
|
|||||||
tar xvf h2spec.tar.gz
|
tar xvf h2spec.tar.gz
|
||||||
sudo install -m755 h2spec /usr/local/bin/h2spec
|
sudo install -m755 h2spec /usr/local/bin/h2spec
|
||||||
echo "version=${H2SPEC_VERSION}" >> $GITHUB_OUTPUT
|
echo "version=${H2SPEC_VERSION}" >> $GITHUB_OUTPUT
|
||||||
- name: Compile HAProxy with ${{ matrix.CC }}
|
- name: Compile HAProxy with gcc
|
||||||
run: |
|
run: |
|
||||||
make -j$(nproc) all \
|
make -j$(nproc) all \
|
||||||
ERR=1 \
|
ERR=1 \
|
||||||
TARGET=${{ matrix.TARGET }} \
|
TARGET=linux-glibc \
|
||||||
CC=${{ matrix.CC }} \
|
CC=gcc \
|
||||||
DEBUG="-DDEBUG_POOL_INTEGRITY" \
|
DEBUG="-DDEBUG_POOL_INTEGRITY" \
|
||||||
USE_OPENSSL=1
|
USE_OPENSSL=1
|
||||||
sudo make install
|
sudo make install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user