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 20, 2024
1 parent 06e5a5c commit 4869aff
Showing 1 changed file with 38 additions and 3 deletions.
41 changes: 38 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 @@ -684,6 +688,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cbindgen \
ccache \
clang \
Expand Down Expand Up @@ -781,6 +786,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
ccache \
Expand Down Expand Up @@ -880,6 +886,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
ccache \
Expand Down Expand Up @@ -977,6 +984,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
ccache \
Expand Down Expand Up @@ -1071,6 +1079,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
ccache \
Expand Down Expand Up @@ -1155,6 +1164,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
ccache \
Expand Down Expand Up @@ -1253,6 +1263,7 @@ jobs:
dnf -y install \
autoconf \
automake \
bindgen \
cargo \
cbindgen \
clang \
Expand Down Expand Up @@ -1375,6 +1386,7 @@ jobs:
apt -y install \
autoconf \
automake \
bindgen \
build-essential \
cargo \
cbindgen \
Expand Down Expand Up @@ -1448,6 +1460,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -1565,6 +1578,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -1670,6 +1684,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -1807,6 +1822,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -1894,6 +1910,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -1997,6 +2014,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2097,6 +2115,7 @@ jobs:
run: |
apt update
apt -y install \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2183,6 +2202,7 @@ jobs:
run: |
apt update
apt -y install \
bindgen \
build-essential \
curl \
libtool \
Expand Down Expand Up @@ -2249,6 +2269,7 @@ jobs:
apt update
apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2333,6 +2354,7 @@ jobs:
afl \
afl-clang \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2398,6 +2420,7 @@ jobs:
sudo apt update
sudo apt -y install \
libpcre2-dev \
bindgen \
build-essential \
autoconf \
automake \
Expand Down Expand Up @@ -2537,13 +2560,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 @@ -2635,6 +2660,7 @@ jobs:
apt -y install \
autoconf \
automake \
bindgen \
build-essential \
cmake \
curl \
Expand Down Expand Up @@ -2738,6 +2764,7 @@ jobs:
apt -y install \
autoconf \
automake \
bindgen \
build-essential \
cargo \
cmake \
Expand Down Expand Up @@ -2819,6 +2846,7 @@ jobs:
apt -y install \
autoconf \
automake \
bindgen \
build-essential \
cmake \
curl \
Expand Down Expand Up @@ -2904,6 +2932,7 @@ jobs:
apt -y install \
automake \
autoconf \
bindgen \
build-essential \
ccache \
curl \
Expand Down Expand Up @@ -3107,11 +3136,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 @@ -3163,11 +3194,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 @@ -3207,11 +3240,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

0 comments on commit 4869aff

Please sign in to comment.