Skip to content

Commit cd51467

Browse files
For containerized tests use mosquitto on host
1 parent eaf1b3c commit cd51467

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/actions/build-native-binary/action.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ runs:
9292
if: ${{ inputs.arch == 'amd64' }}
9393
run: |
9494
cd dist_${{ inputs.arch }}/utest
95-
ls -la
96-
chmod +x TestSelfUpdateAgent
97-
uname -a
9895
file TestSelfUpdateAgent
9996
./TestSelfUpdateAgent > ../../unit_tests_report_${{ inputs.arch }}.txt
10097
shell: bash
@@ -107,11 +104,13 @@ runs:
107104
distro: ubuntu_latest
108105
dockerRunArgs: |
109106
--volume "${PWD}:/sua"
107+
--net=host
110108
shell: /bin/sh
109+
install: |
110+
apt-get -y update
111+
apt-get -y install mosquitto-clients
111112
run: |
112113
cd /sua/dist_arm64/utest
113-
ls -la ../lib
114-
ldd TestSelfUpdateAgent
115114
LD_LIBRARY_PATH=../lib ./TestSelfUpdateAgent > ../../unit_tests_report_arm64.txt
116115
117116
- name: Collect code-coverage for amd64

0 commit comments

Comments
 (0)