Skip to content

Allow ORT builds in root job containers - #8

Merged
laurens-pilot merged 1 commit into
mainfrom
agent/manylinux-r4-root
Jul 28, 2026
Merged

Allow ORT builds in root job containers#8
laurens-pilot merged 1 commit into
mainfrom
agent/manylinux-r4-root

Conversation

@laurens-pilot

Copy link
Copy Markdown
Collaborator

What changed

Pass ORT's supported --allow_running_as_root option only for Linux builds that detect UID 0.

Why

GitHub Actions job containers run steps as root. Both manylinux jobs successfully completed tool and dependency setup, then ORT rejected the build before CMake configuration because the explicit container flag was absent.

Validation

  • shellcheck and Bash syntax checks
  • x64 and ARM64 showed the identical ORT root guard
  • no r4 tag or release was created

@laurens-pilot
laurens-pilot marked this pull request as ready for review July 28, 2026 12:57
@laurens-pilot
laurens-pilot merged commit 97eccf5 into main Jul 28, 2026
2 checks passed
@laurens-pilot
laurens-pilot deleted the agent/manylinux-r4-root branch July 28, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants