Skip to content

Commit

Permalink
github-ci: add bindgen where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed Nov 21, 2024
1 parent a7de5f9 commit f592837
Showing 1 changed file with 47 additions and 3 deletions.
50 changes: 47 additions & 3 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen-cli \
cargo-vendor \
cbindgen \
clang-devel \
diffutils \
numactl-devel \
dpdk-devel \
Expand Down Expand Up @@ -250,6 +252,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cbindgen \
diffutils \
numactl-devel \
Expand Down Expand Up @@ -344,6 +347,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo-vendor \
cbindgen \
diffutils \
Expand Down Expand Up @@ -496,7 +500,9 @@ jobs:
yum -y install \
autoconf \
automake \
bindgen \
cargo-vendor \
clang-devel \
diffutils \
numactl-devel \
dpdk-devel \
Expand Down Expand Up @@ -593,7 +599,9 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo-vendor \
clang-devel \
diffutils \
numactl-devel \
dpdk-devel \
Expand Down Expand Up @@ -684,6 +692,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cbindgen \
ccache \
clang \
Expand Down Expand Up @@ -781,6 +790,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
ccache \
Expand Down Expand Up @@ -880,9 +890,11 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
ccache \
clang-devel \
diffutils \
file-devel \
gcc \
Expand Down Expand Up @@ -977,6 +989,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
ccache \
Expand Down Expand Up @@ -1071,9 +1084,11 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
ccache \
clang-devel \
diffutils \
file-devel \
gcc \
Expand Down Expand Up @@ -1155,6 +1170,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
ccache \
Expand Down Expand Up @@ -1253,6 +1269,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
clang \
Expand Down Expand Up @@ -1375,6 +1392,7 @@ jobs:
apt -y install \
autoconf \
automake \
bindgen \
build-essential \
cargo \
cbindgen \
Expand Down Expand Up @@ -1448,6 +1466,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -1573,6 +1592,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -1678,6 +1698,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -1815,6 +1836,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -1902,6 +1924,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2005,6 +2028,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2105,6 +2129,7 @@ jobs:
run: |
apt update
apt -y install \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2257,6 +2282,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2341,6 +2367,7 @@ jobs:
afl \
afl-clang \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2406,6 +2433,7 @@ jobs:
sudo apt update
sudo apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2545,13 +2573,15 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
cargo \
git \
jq \
libtool \
libclang-dev \
libpcap-dev \
libnet1-dev \
libyaml-0-2 \
Expand Down Expand Up @@ -2643,6 +2673,7 @@ jobs:
apt -y install \
autoconf \
automake \
bindgen \
build-essential \
cmake \
curl \
Expand Down Expand Up @@ -2746,13 +2777,15 @@ jobs:
apt -y install \
autoconf \
automake \
bindgen \
build-essential \
cargo \
cmake \
curl \
git \
jq \
make \
libclang-dev \
libpcre3 \
libpcre3-dbg \
libpcre3-dev \
Expand Down Expand Up @@ -2827,13 +2860,15 @@ jobs:
apt -y install \
autoconf \
automake \
bindgen \
build-essential \
cmake \
curl \
dpdk-dev \
git \
jq \
make \
libclang-dev \
libpcre3 \
libpcre3-dbg \
libpcre3-dev \
Expand Down Expand Up @@ -2912,6 +2947,7 @@ jobs:
apt -y install \
automake \
autoconf \
bindgen \
build-essential \
ccache \
curl \
Expand Down Expand Up @@ -3115,11 +3151,13 @@ jobs:
with:
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-toolchain automake1.16 automake-wrapper autoconf libtool libyaml-devel pcre2-devel jansson-devel make mingw-w64-x86_64-libyaml mingw-w64-x86_64-pcre2 mingw-w64-x86_64-rust mingw-w64-x86_64-jansson unzip p7zip python-setuptools mingw-w64-x86_64-python-yaml mingw-w64-x86_64-jq mingw-w64-x86_64-libxml2
install: git mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang automake1.16 automake-wrapper autoconf libtool libyaml-devel pcre2-devel jansson-devel make mingw-w64-x86_64-libyaml mingw-w64-x86_64-pcre2 mingw-w64-x86_64-rust mingw-w64-x86_64-jansson unzip p7zip python-setuptools mingw-w64-x86_64-python-yaml mingw-w64-x86_64-jq mingw-w64-x86_64-libxml2
# hack: install our own cbindgen system wide as we can't get the
# preinstalled one to be picked up by configure
- name: cbindgen
run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen
- name: bindgen
run: cargo install --root /usr --force --debug bindgen-cli
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: git config --global --add safe.directory /__w/suricata/suricata
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
Expand Down Expand Up @@ -3171,11 +3209,13 @@ jobs:
with:
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-toolchain automake1.16 automake-wrapper autoconf libtool libyaml-devel pcre2-devel jansson-devel make mingw-w64-x86_64-libyaml mingw-w64-x86_64-pcre2 mingw-w64-x86_64-rust mingw-w64-x86_64-jansson unzip p7zip python-setuptools mingw-w64-x86_64-python-yaml mingw-w64-x86_64-jq mingw-w64-x86_64-libxml2 libpcap-devel mingw-w64-x86_64-libpcap
install: git mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang automake1.16 automake-wrapper autoconf libtool libyaml-devel pcre2-devel jansson-devel make mingw-w64-x86_64-libyaml mingw-w64-x86_64-pcre2 mingw-w64-x86_64-rust mingw-w64-x86_64-jansson unzip p7zip python-setuptools mingw-w64-x86_64-python-yaml mingw-w64-x86_64-jq mingw-w64-x86_64-libxml2 libpcap-devel mingw-w64-x86_64-libpcap
# hack: install our own cbindgen system wide as we can't get the
# preinstalled one to be picked up by configure
- name: cbindgen
run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen
- name: bindgen
run: cargo install --root /usr --force --debug bindgen-cli
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: git config --global --add safe.directory /__w/suricata/suricata
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
Expand Down Expand Up @@ -3215,11 +3255,13 @@ jobs:
with:
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-toolchain automake1.16 automake-wrapper autoconf libtool libyaml-devel pcre2-devel jansson-devel make mingw-w64-x86_64-libyaml mingw-w64-x86_64-pcre2 mingw-w64-x86_64-rust mingw-w64-x86_64-jansson unzip p7zip python-setuptools mingw-w64-x86_64-python-yaml mingw-w64-x86_64-jq mingw-w64-x86_64-libxml2 libpcap-devel mingw-w64-x86_64-libpcap
install: git mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang automake1.16 automake-wrapper autoconf libtool libyaml-devel pcre2-devel jansson-devel make mingw-w64-x86_64-libyaml mingw-w64-x86_64-pcre2 mingw-w64-x86_64-rust mingw-w64-x86_64-jansson unzip p7zip python-setuptools mingw-w64-x86_64-python-yaml mingw-w64-x86_64-jq mingw-w64-x86_64-libxml2 libpcap-devel mingw-w64-x86_64-libpcap
# hack: install our own cbindgen system wide as we can't get the
# preinstalled one to be picked up by configure
- name: cbindgen
run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen
- name: bindgen
run: cargo install --root /usr --force --debug bindgen-cli
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: git config --global --add safe.directory /__w/suricata/suricata
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
Expand Down Expand Up @@ -3275,6 +3317,8 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
clang-devel \
diffutils \
numactl-devel \
dpdk-devel \
Expand Down

0 comments on commit f592837

Please sign in to comment.