Skip to content
Open
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
23 changes: 21 additions & 2 deletions .github/workflows/root-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,25 @@ jobs:
${{ (github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && join( matrix.overrides, ', ' )) || '' }}

steps:
- name: Node state
Copy link
Member

Choose a reason for hiding this comment

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

Is this step meant to be merged?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, we would like to add some diagnostics for the node to the CI runs.

shell: bash -leo pipefail {0}
run: |
echo $PATH
which cmake || true
find /opt -name cmake -type f || true
find /usr -name cmake -type f || true
cmake --version || true
which c++ || true
c++ --version || true
uname -a || true
sw_vers || true
uptime || true
df || true
echo $SHELL
echo $0
python3 -m site || true
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables || true

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -203,8 +222,8 @@ jobs:

- 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
if: ${{ github.event_name == 'push' && !matrix.platform == 'mac15' && !matrix.platform == 'mac26' }}
Copy link
Member

Choose a reason for hiding this comment

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

Is there a way to link/relate closer this with the disabling of the use? (I.e. to avoid someone later one trying to renable the use by forgetting to revert this).

Copy link
Member Author

Choose a reason for hiding this comment

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

We might be able to write some info in the environment variables, like so:

<download cached artifacts>
echo ROOT_CI_UPLOAD_ARTIFACTS=1 >> $GITHUB_ENV

This environment variable could be used to trigger the upload step. What do you think @pcanal ?

run: ".github/workflows/root-ci-config/build_root.py
--buildtype RelWithDebInfo
--platform ${{ matrix.platform }}
--incremental false
Expand Down
Loading