CI: feed tuttest snippets to bash in function
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
This commit is contained in:
parent
e215e3f95b
commit
4b4eba12f6
|
@ -17,5 +17,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
function tuttest_exec() {
|
function tuttest_exec() {
|
||||||
tuttest "$@"
|
tuttest "$@" | bash -ex -
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
LANG: "en_US.UTF-8"
|
LANG: "en_US.UTF-8"
|
||||||
DEBIAN_FRONTEND: "noninteractive"
|
DEBIAN_FRONTEND: "noninteractive"
|
||||||
BASH_CMD: "bash -ex -"
|
|
||||||
|
|
||||||
container: ${{matrix.os}}:${{matrix.os-version}}
|
container: ${{matrix.os}}:${{matrix.os-version}}
|
||||||
|
|
||||||
|
@ -69,10 +68,10 @@ jobs:
|
||||||
chmod a+rx /usr/bin/tuttest
|
chmod a+rx /usr/bin/tuttest
|
||||||
|
|
||||||
- name: Install SymbiFlow toolchain
|
- name: Install SymbiFlow toolchain
|
||||||
run: bash .github/scripts/install-toolchain.sh ${{matrix.fpga-fam}} ${{matrix.os}} | ${BASH_CMD}
|
run: bash .github/scripts/install-toolchain.sh ${{matrix.fpga-fam}} ${{matrix.os}}
|
||||||
|
|
||||||
- name: Build examples
|
- name: Build examples
|
||||||
run: bash .github/scripts/build-examples.sh ${{matrix.fpga-fam}} ${{matrix.example}} | ${BASH_CMD}
|
run: bash .github/scripts/build-examples.sh ${{matrix.fpga-fam}} ${{matrix.example}}
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue