Skip to content

WIP: Ubuntu CI build and .deb packaging workflow - Stable Build#9687

Draft
HATAKEkakshi wants to merge 11 commits intoThe-OpenROAD-Project:masterfrom
HATAKEkakshi:ubuntu-build
Draft

WIP: Ubuntu CI build and .deb packaging workflow - Stable Build#9687
HATAKEkakshi wants to merge 11 commits intoThe-OpenROAD-Project:masterfrom
HATAKEkakshi:ubuntu-build

Conversation

@HATAKEkakshi
Copy link

@HATAKEkakshi HATAKEkakshi commented Mar 7, 2026

This PR adds a GitHub Actions CI workflow (github-actions-stable-ubuntu-build.yaml) that automatically builds OpenROAD from source on Ubuntu and packages it as a ready-to-install .deb file.

Workflow Steps

  1. Checkout — Clones the repo with all submodules
  2. System Update — Updates packages and installs patchelf
  3. Install Dependencies — Runs DependencyInstaller.sh for base and common dependencies
  4. Build — Compiles OpenROAD using Build.sh
  5. Verify — Confirms the binary was built successfully
  6. Package — Creates a Debian package (openroad_amd64.deb) with:
    • Binary at /usr/bin/openroad
    • Runtime libraries bundled under /usr/lib/openroad/
    • RPATH patched via patchelf so the binary finds its bundled libs
    • Binary stripped to reduce size
  7. Upload Artifact — Attaches the .deb as a downloadable build artifact
  8. Create Pre-Release — Publishes a GitHub pre-release with the .deb file

Trigger

  • Push to master branch

Prerequisites

Important

This workflow uses ${{ secrets.GITHUB_TOKEN }} to create GitHub releases. The token is automatically provided by GitHub Actions, but ensure your repository has Settings → Actions → General → Workflow permissions set to "Read and write permissions".

How to Install

sudo apt install ./openroad_amd64.deb
openroad -version
openroad -gui

Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
@HATAKEkakshi HATAKEkakshi changed the title Ubuntu build WIP: Ubuntu CI build and .deb packaging workflow Mar 8, 2026
@HATAKEkakshi HATAKEkakshi marked this pull request as draft March 8, 2026 04:39
Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
@HATAKEkakshi HATAKEkakshi changed the title WIP: Ubuntu CI build and .deb packaging workflow WIP: Ubuntu CI build and .deb packaging workflow - Stable Build Mar 8, 2026
Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
Signed-off-by: HATAKEkakshi <hemant.kumar40fea@gmail.com>
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.

1 participant