@@ -153,10 +153,8 @@ jobs:
153153 run : |
154154 ./autogen.sh
155155 CFLAGS="${DEFAULT_CFLAGS}" ./configure --enable-warnings
156- - run : make -j ${{ env.CPUS }} distcheck
157- env :
158- DISTCHECK_CONFIGURE_FLAGS : " --enable-unittests --enable-debug --enable-geoip --enable-profiling --enable-profiling-locks --enable-dpdk"
159- MAKEFLAGS : " -j ${{ env.CPUS }}"
156+ - name : Build
157+ run : make -j ${{ env.CPUS }} check
160158
161159 - name : Check that man page was built
162160 run : test -e doc/userguide/suricata.1
@@ -246,26 +244,11 @@ jobs:
246244 - name : Test suricata-update
247245 run : suricata-update
248246
249- # Template testing
250- # - run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.85.0 -y
251- # - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
252- - run : rustup component add rustfmt
253- # - run: rustup component add clippy
254- # - name: Build for template testing
255- # run: |
256- # ./autogen.sh
257- # CFLAGS="${DEFAULT_CFLAGS}" ./configure
258- # make -j ${{ env.CPUS }}
259- - run : ./scripts/setup-app-layer.py --parser --logger --detect FooBar payload
260- - run : make -j ${{ env.CPUS }}
261- - run : ./src/suricata --list-app-layer-protos | grep foobar
262- - run : ./src/suricata --list-app-layer-hooks | grep "foobar:request_started"
263- - name : Verify rustfmt
264- run : rustfmt -v --check src/applayerfoobar/*.rs
265- working-directory : rust
266- - name : Verify clippy
267- run : cargo clippy --all-features
268- working-directory : rust
247+ - name : Distcheck
248+ run : make -j ${{ env.CPUS }} distcheck
249+ env :
250+ DISTCHECK_CONFIGURE_FLAGS : " --enable-unittests --enable-debug --enable-geoip --enable-profiling --enable-profiling-locks --enable-dpdk"
251+ MAKEFLAGS : " -j ${{ env.CPUS }}"
269252
270253 almalinux-9 :
271254 name : AlmaLinux 9 (schema)
0 commit comments