From 4b4eba12f6267017c5ed85965618703ad91b5ce8 Mon Sep 17 00:00:00 2001 From: Karol Gugala Date: Tue, 19 Jan 2021 18:15:00 +0100 Subject: [PATCH] CI: feed tuttest snippets to bash in function Signed-off-by: Karol Gugala --- .github/scripts/common.sh | 2 +- .github/workflows/sphinx-tuttest.yml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/scripts/common.sh b/.github/scripts/common.sh index db9b636..1f982de 100644 --- a/.github/scripts/common.sh +++ b/.github/scripts/common.sh @@ -17,5 +17,5 @@ # SPDX-License-Identifier: Apache-2.0 function tuttest_exec() { - tuttest "$@" + tuttest "$@" | bash -ex - } diff --git a/.github/workflows/sphinx-tuttest.yml b/.github/workflows/sphinx-tuttest.yml index 28658ce..4f41f56 100644 --- a/.github/workflows/sphinx-tuttest.yml +++ b/.github/workflows/sphinx-tuttest.yml @@ -47,7 +47,6 @@ jobs: env: LANG: "en_US.UTF-8" DEBIAN_FRONTEND: "noninteractive" - BASH_CMD: "bash -ex -" container: ${{matrix.os}}:${{matrix.os-version}} @@ -69,10 +68,10 @@ jobs: chmod a+rx /usr/bin/tuttest - 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 - 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 with: