File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 69
69
ln -s ${{ github.workspace }}/src/smf ${{ github.workspace }}/wireshark/plugins/epan/smf
70
70
71
71
- name : Mkdir
72
- run : mkdir build
72
+ run : mkdir -p build
73
73
74
74
- name : Cmake
75
75
working-directory : build
@@ -83,18 +83,24 @@ jobs:
83
83
-DPython_LIBRARY=${{ env.pythonLocation }}/lib \
84
84
-DPython_INCLUDE_DIR=${{ env.pythonLocation }}/include \
85
85
-DPython_EXECUTABLE=${{ env.pythonLocation }}/bin/python \
86
- -DPython_FIND_STRATEGY=LOCATION
87
-
86
+ -DPython_FIND_STRATEGY=LOCATION
87
+
88
88
- name : Build
89
89
working-directory : build
90
90
run : ninja
91
91
92
- # A compressed tarball is created for release
93
- # This means that the artifact is compressed and zipped as a result.
92
+ # Update dependency path for SMF plugin to find the libraries from wireshark package
93
+ - name : Update dependency path for SMF plugin
94
+ run : |
95
+ VERSIONED_DIR="${{ inputs.MAJOR_VERSION }}-${{ inputs.MINOR_VERSION }}"
96
+ install_name_tool -change /opt/homebrew/opt/glib/lib/libglib-2.0.0.dylib @executable_path/../Frameworks/libglib-2.0.0.dylib ${{ github.workspace }}/build/run/Wireshark.app/Contents/PlugIns/wireshark/${VERSIONED_DIR}/epan/smf.so
97
+
98
+ # A compressed tarball is created for release.
99
+ # This means that the artifact is compressed and zipped as a result.
94
100
- name : Create Compressed Tarball
95
101
working-directory : ${{ github.workspace }}/build/run/Wireshark.app/Contents/PlugIns/wireshark
96
102
run : tar -czvf ${{ github.workspace }}/${{ env.PLUGIN_NAME }} **/epan/smf.so
97
-
103
+
98
104
- name : Upload Artifacts
99
105
uses : actions/upload-artifact@v4
100
106
with :
You can’t perform that action at this time.
0 commit comments