Skip to content

openroad.bzl: Add orfs_canonicalize stage #235

openroad.bzl: Add orfs_canonicalize stage

openroad.bzl: Add orfs_canonicalize stage #235

Workflow file for this run

name: bazel-orfs
on:
workflow_dispatch:
push:
pull_request:
env:
DOCKER_IMAGE: openroad/flow-ubuntu22.04-builder:latest
jobs:
lint:
name: Lint Bazel files
runs-on: ubuntu-22.04
env:
DEBIAN_FRONTEND: "noninteractive"
steps:
- name: Download buildifier
run: |
wget https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-linux-amd64 -O /usr/local/bin/buildifier
chmod +x /usr/local/bin/buildifier
buildifier -version
- name: Checkout bazel-orfs
uses: actions/checkout@v4
- name: Check Bazel files
run: |
buildifier -lint warn -r .
test-make-target:
name: ${{ matrix.STAGE_TARGET }}
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
STAGE_TARGET:
- "tag_array_64x184_generate_abstract"
- "tag_array_64x184_report"
- "lb_32x128_generate_abstract"
- "L1MetadataArray_generate_abstract"
- "subpackage:L1MetadataArray_generate_abstract"
env:
DEBIAN_FRONTEND: "noninteractive"
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
swap-storage: false
- name: Print info
run: |
echo "USER: "$(whoami)
echo "PWD: "$(pwd)
echo "HOME: "$HOME
ls -la
- name: Checkout bazel-orfs
uses: actions/checkout@v4
- name: query target
run: |
bazel query ${{ matrix.STAGE_TARGET }}
bazel query ${{ matrix.STAGE_TARGET }} --output=build
- name: build target
run: |
bazel build --subcommands --verbose_failures --sandbox_debug ${{ matrix.STAGE_TARGET }}