on master help sign in
CICD: Build: Remove unused JOB_DO_TESTING var and output

It is CARGO_TEST_OPTIONS that is used to control testing on cross-compiled builds, so we can remove JOB_DO_TESTING. For #1474

commit411d68e8396e92160546769fe5ae47b9964c9882 authorMartin Nordholts <enselic@gmail.com> dateThu 7 Jan 2021, 11:06 (6 years ago) parent77d42a1
1 file changed−4
.github/workflows/CICD.yml−4
.github/workflows/CICD.yml−4
@@ -153,10 +153,6 @@ jobs:
153153 if [[ -n $DPKG_ARCH && -n $DPKG_VERSION ]]; then DPKG_NAME="${DPKG_BASENAME}_${DPKG_VERSION}_${DPKG_ARCH}.deb" ; fi
154154 echo ::set-output name=DPKG_NAME::${DPKG_NAME}
155155 # target-specific options
156− # # * `arm` cannot be tested on ubuntu-* hosts (b/c testing is currently primarily done via comparison of target outputs with built-in outputs and the `arm` target is not executable on the host)
157− JOB_DO_TESTING="true"
158− case ${{ matrix.job.target }} in arm-*) unset JOB_DO_TESTING ;; esac;
159− echo ::set-output name=JOB_DO_TESTING::${JOB_DO_TESTING}
160156 # # * test only library unit tests and binary for arm-type targets
161157 unset CARGO_TEST_OPTIONS
162158 unset CARGO_TEST_OPTIONS ; case ${{ matrix.job.target }} in arm-* | aarch64-*) CARGO_TEST_OPTIONS="--lib --bin ${PROJECT_NAME}" ;; esac;