File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Cargo Audit and Update
1+ name : Cargo Audit
22
33on :
44 schedule :
8989 IGNORES+=(--ignore RUSTSEC-2019-0036)
9090
9191 cargo audit -D warnings "${IGNORES[@]}"
92-
93- # This job uses our MSRV and does a `cargo update` with the idea
94- # that it should catch early any dependencies that have done a patch
95- # update pulling in a new MSRV. This would be an indicator that we
96- # have to more tightly pin the dependency, or even attempt to pin a
97- # transitive dependency.
98- update :
99- name : Cargo Update
100- runs-on : ubuntu-latest
101- container : almalinux:9
102- steps :
103- - name : Cache cargo registry
104- uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
105- with :
106- path : ~/.cargo
107- key : ${{ github.job }}-cargo
108-
109- - name : Install system packages
110- run : |
111- dnf -y install dnf-plugins-core epel-release
112- dnf config-manager --set-enabled crb
113- dnf -y install \
114- autoconf \
115- automake \
116- cbindgen \
117- diffutils \
118- numactl-devel \
119- dpdk-devel \
120- file-devel \
121- gcc \
122- gcc-c++ \
123- git \
124- jansson-devel \
125- jq \
126- libtool \
127- libyaml-devel \
128- libnfnetlink-devel \
129- libnetfilter_queue-devel \
130- libnet-devel \
131- libcap-ng-devel \
132- libevent-devel \
133- libmaxminddb-devel \
134- libpcap-devel \
135- libtool \
136- lz4-devel \
137- make \
138- pcre2-devel \
139- pkgconfig \
140- python3-devel \
141- python3-sphinx \
142- python3-yaml \
143- sudo \
144- which \
145- zlib-devel
146- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
147- - name : Install Minimum Supported Rust Version
148- run : |
149- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $(awk -F '"' '/rust-version/ { print $2 }' rust/Cargo.toml.in)
150- echo "$HOME/.cargo/bin" >> $GITHUB_PATH
151- - name : Configure Suricata
152- run : |
153- ./autogen.sh
154- ./configure --enable-warnings
155- - name : Cargo Update and Build
156- working-directory : rust
157- run : |
158- cargo update
159- cargo build --all-features --all-targets
You can’t perform that action at this time.
0 commit comments