maint/cicd ~ fix arm-* build target testing

This commit is contained in:
Roy Ivy III
2019-11-21 00:07:06 -06:00
committed by Pierre Peltier
parent 435954375f
commit 2e58be5a7a

View File

@@ -54,6 +54,13 @@ jobs:
EXE_suffix: ""
steps:
- uses: actions/checkout@v1
- name: Setup target-specific options
id: cargo_options
shell: bash
run: |
# test only binary for arm-type targets
unset TEST_OPTIONS; case ${{ matrix.target }} in arm-*) TEST_OPTIONS="--bin ${PROJECT_NAME}";; esac;
echo ::set-output name=TEST_OPTIONS::${TEST_OPTIONS}
- name: Parse branch info
id: branch_info
shell: bash
@@ -90,7 +97,7 @@ jobs:
with:
use-cross: true
command: test
args: --target=${{ matrix.target }}
args: --target=${{ matrix.target }} ${{ steps.cargo_options.outputs.TEST_OPTIONS}}
- name: Archive executable artifacts
uses: actions/upload-artifact@master
with: