Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/root-ci-config/build_root.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,30 @@
explicitly appended to the shell log.
e.g. `os.chdir(x)` requires `cd x` to be appended to the shell log """

import argparse
import datetime
import os
import platform
import re
import shutil
import subprocess
import sys
import tarfile
import time

import openstack

from build_utils import (
die,
github_log_group,
load_config,
calc_options_hash,
subprocess_with_log,
subprocess_with_capture,
upload_file,
is_macos
)
import build_utils

Check failure on line 39 in .github/workflows/root-ci-config/build_root.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (I001)

.github/workflows/root-ci-config/build_root.py:16:1: I001 Import block is un-sorted or un-formatted

S3CONTAINER = 'ROOT-build-artifacts' # Used for uploads
S3URL = 'https://s3.cern.ch/swift/v1/' + S3CONTAINER # Used for downloads
Expand Down Expand Up @@ -308,6 +308,8 @@
@github_log_group("Node state")
def show_node_state() -> None:
result = subprocess_with_log("""
echo $SHELL
echo $PATH
which cmake
cmake --version
which c++ || true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/root-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
env:
OVERRIDES: ${{ join( matrix.overrides, ' ') }}
CONFIGFILE: '.github/workflows/root-ci-config/buildconfig/${{ matrix.platform }}.txt'
shell: bash
shell: bash -leo pipefail {0}
run: |
set -x

Expand Down Expand Up @@ -465,7 +465,7 @@ jobs:
env:
OVERRIDES: ${{ join( matrix.overrides, ' ') }}
CONFIGFILE: '.github/workflows/root-ci-config/buildconfig/${{ matrix.image }}.txt'
shell: bash
shell: bash -leo pipefail {0}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this really needed? linux builds do work...

run: |
set -x

Expand Down
Loading