File tree 2 files changed +5
-5
lines changed
actions/build-native-binary
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ runs:
135
135
if : ${{ inputs.arch == 'amd64' }}
136
136
run : |
137
137
cd dist_${{ inputs.arch }}/utest
138
- ./TestSelfUpdateAgent > ../../unit_tests_report_${{ inputs.arch }}.txt
138
+ ./TestSelfUpdateAgent > ../../unit_tests_report_${{ inputs.arch }}.txt --gtest_output=xml:../../unit_tests_report_${{ inputs.arch }}.xml
139
139
shell : bash
140
140
141
141
- uses : uraimo/run-on-arch-action@v2
@@ -157,7 +157,7 @@ runs:
157
157
echo "\nextra/selfupdateagent.crt" | tee -a /etc/ca-certificates.conf > /dev/null
158
158
update-ca-certificates
159
159
cd /sua/dist_arm64/utest
160
- LD_LIBRARY_PATH=../lib ./TestSelfUpdateAgent > ../../unit_tests_report_arm64.txt
160
+ LD_LIBRARY_PATH=../lib ./TestSelfUpdateAgent > ../../unit_tests_report_arm64.txt --gtest_output=xml:../../unit_tests_report_arm64.xml
161
161
162
162
- name : Collect code-coverage for amd64
163
163
if : ${{ inputs.arch == 'amd64' }}
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ jobs:
107
107
- name : Upload unit tests results to workspace
108
108
uses : actions/upload-artifact@v3
109
109
with :
110
- path : unit_tests_report_${{ matrix.arch }}.txt
110
+ path : unit_tests_report_${{ matrix.arch }}.*
111
111
112
112
upload-native-binary :
113
113
runs-on : ubuntu-latest
@@ -130,8 +130,8 @@ jobs:
130
130
automatic_release_tag : build_${{ github.run_number }}
131
131
title : " Build ${{ github.run_number }}"
132
132
files : |
133
- ./artifact/unit_tests_report_amd64.txt
134
- ./artifact/unit_tests_report_arm64.txt
133
+ ./artifact/unit_tests_report_amd64.*
134
+ ./artifact/unit_tests_report_arm64.*
135
135
./artifact/code-coverage.tar.gz
136
136
./artifact/self-update-agent-amd64-build-${{ github.run_number }}.tar.gz
137
137
./artifact/self-update-agent-arm64-build-${{ github.run_number }}.tar.gz
You can’t perform that action at this time.
0 commit comments