Skip to content

Commit

Permalink
Examples silent CI fail fix
Browse files Browse the repository at this point in the history
flag added so silent errors can't happen again in CI
added a function to install tuttest
generating examples calles tuttest installation before generating examples

Signed-off-by: gkierzkowski <[email protected]>
  • Loading branch information
gkierzkowski-ant committed Aug 21, 2024
1 parent f7f8aca commit 73d3a71
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

set -e
set -o pipefail

ROOT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")"/../.. &>/dev/null && pwd)
EXAMPLES=(hdmi inout pwm soc hierarchy)
Expand Down Expand Up @@ -80,6 +81,12 @@ install_nox() {
end_command_group
}

install_tuttest(){
begin_command_group "Installing tuttest"
log_cmd pip install git+https://github.com/antmicro/tuttest
end_command_group
}

install_pyenv() {
begin_command_group "Install pyenv"
log_cmd apt-get install -y --no-install-recommends \
Expand Down Expand Up @@ -124,6 +131,7 @@ run_tests() {
generate_examples() {
install_common_system_packages
install_topwrap_system_deps
install_tuttest

begin_command_group "Installing Topwrap"
log_cmd pip install "."
Expand Down

0 comments on commit 73d3a71

Please sign in to comment.