Skip to content

Commit

Permalink
test build
Browse files Browse the repository at this point in the history
  • Loading branch information
leoparente committed Jan 9, 2025
1 parent 9d4d109 commit 5c86e55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build_cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ jobs:
path: src

- name: Create Conan configuration
working-directory: ${{github.workspace}}/src
run: |
# init config
cd src/
conan config list
python3 -c 'import yaml; p = "build/settings.yml"; d = yaml.safe_load(open(p)); d["compiler"]["gcc"]["libc"] = ["glibc", "musl"]; yaml.safe_dump(d, open(p, "w"))'
conan profile detect
Expand Down Expand Up @@ -117,8 +116,8 @@ jobs:
run: sed -i "/crashpad/d" ${{github.workspace}}/src/conanfile.py

- name: Configure
working-directory: ${{github.workspace}}/src/build
run: |
cd ${{github.workspace}}/src/build
export CC CXX
export LDFLAGS=-static
cmake .. \
Expand All @@ -131,9 +130,8 @@ jobs:
-DCMAKE_CXX_STANDARD_LIBRARIES=-latomic
- name: Build
run: |
cd ${{github.workspace}}/src/build
sudo make -j4 VERBOSE=1
working-directory: ${{github.workspace}}/src/build
run: cmake --build . --config Release -- -j 4

- name: Print sccache stats
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/inputs/pcap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ target_include_directories(VisorInputPcap

target_link_libraries(VisorInputPcap
PUBLIC
${ADDITIONAL_LIBS}
Visor::Core
Visor::Lib::Utils
${ADDITIONAL_LIBS}
)

set(VISOR_STATIC_PLUGINS ${VISOR_STATIC_PLUGINS} Visor::Input::Pcap PARENT_SCOPE)
Expand Down

0 comments on commit 5c86e55

Please sign in to comment.