|
|
|
@ -108,7 +108,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
# Now checkout Suricata for the bundle script.
|
|
|
|
|
- name: Checking out Suricata
|
|
|
|
|
uses: actions/checkout@v3.5.3
|
|
|
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
|
|
|
|
|
- name: Fetching libhtp
|
|
|
|
|
run: |
|
|
|
|
@ -196,7 +196,7 @@ jobs:
|
|
|
|
|
- name: Determine number of CPUs
|
|
|
|
|
run: echo CPUS=$(nproc --all) >> $GITHUB_ENV
|
|
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
|
|
|
|
|
# Download and extract dependency archives created during prep
|
|
|
|
|
# job.
|
|
|
|
@ -328,7 +328,7 @@ jobs:
|
|
|
|
|
- name: Determine number of CPUs
|
|
|
|
|
run: echo CPUS=$(nproc --all) >> $GITHUB_ENV
|
|
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
|
|
|
|
|
# Download and extract dependency archives created during prep
|
|
|
|
|
# job.
|
|
|
|
@ -419,7 +419,7 @@ jobs:
|
|
|
|
|
- name: Determine number of CPUs
|
|
|
|
|
run: echo CPUS=$(nproc --all) >> $GITHUB_ENV
|
|
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
|
|
|
|
|
# Prebuild check for duplicate SIDs
|
|
|
|
|
- name: Check for duplicate SIDs
|
|
|
|
@ -745,7 +745,7 @@ jobs:
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -841,7 +841,7 @@ jobs:
|
|
|
|
|
systemd-devel \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -936,7 +936,7 @@ jobs:
|
|
|
|
|
sudo \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -1036,7 +1036,7 @@ jobs:
|
|
|
|
|
systemd-devel \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -1126,7 +1126,7 @@ jobs:
|
|
|
|
|
sudo \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -1212,7 +1212,7 @@ jobs:
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- run: adduser suricata
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -1304,7 +1304,7 @@ jobs:
|
|
|
|
|
sudo \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -1378,7 +1378,7 @@ jobs:
|
|
|
|
|
# packaged Rust version is too old for coverage, so get from rustup
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -1504,7 +1504,7 @@ jobs:
|
|
|
|
|
# packaged Rust version is too old for coverage, so get from rustup
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -1598,7 +1598,7 @@ jobs:
|
|
|
|
|
zlib1g-dev \
|
|
|
|
|
exuberant-ctags \
|
|
|
|
|
dpdk-dev
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -1753,7 +1753,7 @@ jobs:
|
|
|
|
|
zlib1g \
|
|
|
|
|
zlib1g-dev \
|
|
|
|
|
exuberant-ctags
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -1834,7 +1834,7 @@ jobs:
|
|
|
|
|
zlib1g \
|
|
|
|
|
zlib1g-dev
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -1914,7 +1914,7 @@ jobs:
|
|
|
|
|
linux-headers-$(uname -r)
|
|
|
|
|
|
|
|
|
|
- name: Checkout Netmap repository
|
|
|
|
|
uses: actions/checkout@v3.5.3
|
|
|
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
with:
|
|
|
|
|
repository: luigirizzo/netmap
|
|
|
|
|
# gets cloned to $GITHUB_WORKSPACE/netmap/
|
|
|
|
@ -1927,7 +1927,7 @@ jobs:
|
|
|
|
|
make -j ${{ env.CPUS }}
|
|
|
|
|
sudo make install
|
|
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -2031,7 +2031,7 @@ jobs:
|
|
|
|
|
ninja -C build install
|
|
|
|
|
ldconfig
|
|
|
|
|
cd $HOME
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -2114,7 +2114,7 @@ jobs:
|
|
|
|
|
texlive-latex-extra \
|
|
|
|
|
zlib1g \
|
|
|
|
|
zlib1g-dev
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -2199,7 +2199,7 @@ jobs:
|
|
|
|
|
texlive-latex-extra \
|
|
|
|
|
zlib1g \
|
|
|
|
|
zlib1g-dev
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -2283,7 +2283,7 @@ jobs:
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain ${RUST_VERSION_MIN} -y
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -2369,7 +2369,7 @@ jobs:
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -2449,7 +2449,7 @@ jobs:
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -2508,7 +2508,7 @@ jobs:
|
|
|
|
|
run: cargo install --debug --version 0.24.3 cbindgen
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- run: pip3 install PyYAML
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- name: Downloading prep archive
|
|
|
|
|
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
@ -2541,7 +2541,7 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cargo
|
|
|
|
|
key: ${{ github.job }}-cargo
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: msys2/setup-msys2@v2
|
|
|
|
|
with:
|
|
|
|
|
msystem: MINGW64
|
|
|
|
@ -2551,7 +2551,7 @@ jobs:
|
|
|
|
|
# preinstalled one to be picked up by configure
|
|
|
|
|
- name: cbindgen
|
|
|
|
|
run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -2597,7 +2597,7 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cargo
|
|
|
|
|
key: ${{ github.job }}-cargo
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: msys2/setup-msys2@v2
|
|
|
|
|
with:
|
|
|
|
|
msystem: MINGW64
|
|
|
|
@ -2607,7 +2607,7 @@ jobs:
|
|
|
|
|
# preinstalled one to be picked up by configure
|
|
|
|
|
- name: cbindgen
|
|
|
|
|
run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
@ -2641,7 +2641,7 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cargo
|
|
|
|
|
key: ${{ github.job }}-cargo
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: msys2/setup-msys2@v2
|
|
|
|
|
with:
|
|
|
|
|
msystem: MINGW64
|
|
|
|
@ -2651,7 +2651,7 @@ jobs:
|
|
|
|
|
# preinstalled one to be picked up by configure
|
|
|
|
|
- name: cbindgen
|
|
|
|
|
run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
|
|
|
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|