File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change 26
26
- name : upload package artifacts
27
27
uses : actions/upload-artifact@v4
28
28
with :
29
- name : package
29
+ name : dkms_package
30
30
path : rex-dkms*_all.deb
31
31
if-no-files-found : error
32
32
37
37
run : |
38
38
sudo apt-get install -y ./rex-dkms*_all.deb \
39
39
|| ( find /var/lib/dkms -name make.log -exec cat '{}' \; && false )
40
+
41
+ build_library :
42
+ runs-on : ubuntu-22.04
43
+ steps :
44
+ - uses : actions/checkout@v4
45
+
46
+ - name : prepare sources
47
+ run : |
48
+ rm -rf debian
49
+ cp -r debian.lib debian
50
+
51
+ - name : install dependencies
52
+ run : |
53
+ sudo apt update
54
+ sudo apt install -y libpcap-dev libbpf-dev
55
+
56
+ - run : |
57
+ echo "nproc=$(nproc)" >> $GITHUB_ENV
58
+
59
+ - name : build package
60
+ run : |
61
+ dpkg-buildpackage -j${{env.nproc}} -b --no-sign
62
+ mv ../libhyperscan*.deb ../libhyperscan*.ddeb .
63
+
64
+ - name : upload package artifacts
65
+ uses : actions/upload-artifact@v4
66
+ with :
67
+ name : " package_${{ inputs.target }}"
68
+ path : libhyperscan*deb
69
+ if-no-files-found : error
70
+
71
+ - name : upload func test artifacts
72
+ uses : actions/upload-artifact@v4
73
+ with :
74
+ name : " func_test_${{ inputs.target }}"
75
+ path : obj-x86_64-linux-gnu/bin/unit-xdpscan
76
+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments