Skip to content

add generic bazel toolchain job#94

Open
odra wants to merge 1 commit intoeclipse-score:mainfrom
odra:generic-bazel-ci
Open

add generic bazel toolchain job#94
odra wants to merge 1 commit intoeclipse-score:mainfrom
odra:generic-bazel-ci

Conversation

@odra
Copy link
Copy Markdown

@odra odra commented Apr 14, 2026

Changes

  • adds a generic workflow to build a Bazel target with a specific config

Sample Usage

uses: eclipse-score/cicd-workflows/.github/workflows/bazel-target-build.yml
   permissions:
     contents: read
     pull-requests: read
   strategy:
     matrix:
       config: ['x86_64-autosd']
   with:
     bazel-target: '//src/...'
     bazel-config: ${{ matrix.config }}
     bazel-disk-cache: ${{ github.workflow }}-${{ github.job }}-${{ matrix.config }}

Signed-off-by: Leonardo Rossetti <lrossett@redhat.com>
@AlexanderLanin
Copy link
Copy Markdown
Member

I'm not sure what this is? Maybe this should be setup-bazel? As wrapping a simple bazel run doesnt seem worth it. It adds more complexity than just running it on command line.

@odra
Copy link
Copy Markdown
Author

odra commented Apr 14, 2026

I started working on an autosd one but It felt to simple to be autosd specific. I could still try to force a config or container image to be autosd specific, instead of the generic one, if that makes sense.

@AlexanderLanin
Copy link
Copy Markdown
Member

Where would you like to use this? Sorry, I dont get it yet. Workflow is called toolchain test. It sets up qemu. And the name is target-build. Thats three mismatching things :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants