mirror of
https://github.com/lsd-rs/lsd.git
synced 2026-02-16 20:24:47 +02:00
maint/cicd ~ fix arm-* build target testing
This commit is contained in:
committed by
Pierre Peltier
parent
435954375f
commit
2e58be5a7a
9
.github/workflows/CICD.yml
vendored
9
.github/workflows/CICD.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user