Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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: 4 additions & 0 deletions .github/workflows/root-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ jobs:
run: 'echo SSL_CERT_FILE=/opt/local/share/curl/curl-ca-bundle.crt >> $GITHUB_ENV'

- name: Pull Request Build
shell: bash -leo pipefail {0}
if: github.event_name == 'pull_request'
env:
INCREMENTAL: ${{ !contains(github.event.pull_request.labels.*.name, 'clean build') }}
Expand All @@ -174,6 +175,7 @@ jobs:
--platform ${{ matrix.platform }}"

- name: Workflow dispatch
shell: bash -leo pipefail {0}
if: ${{ github.event_name == 'workflow_dispatch' && !matrix.is_special }}
run: ".github/workflows/root-ci-config/build_root.py
--buildtype ${{ inputs.buildtype }}
Expand All @@ -185,6 +187,7 @@ jobs:
--repository ${{ github.server_url }}/${{ github.repository }}"

- name: Nightly build
shell: bash -leo pipefail {0}
if: github.event_name == 'schedule'
run: ".github/workflows/root-ci-config/build_root.py
--buildtype Release
Expand All @@ -195,6 +198,7 @@ jobs:
--repository ${{ github.server_url }}/${{ github.repository }}"

- name: Update build cache after push to release branch
shell: bash -leo pipefail {0}
if: github.event_name == 'push'
run: ".github/workflows/root-ci-config/build_root.py
--buildtype RelWithDebInfo
Expand Down
Loading