E533 ci: fetch all ida version automatically, add an action to single build by msobon-hexrays · Pull Request #1 · HexRaysSA/bindiff · GitHub
[go: up one dir, main page]

Skip to content

ci: fetch all ida version automatically, add an action to single build#1

Merged
williballenthin merged 2 commits intoHexRaysSA:ci-ghafrom
msobon-hexrays:ci-gha
Mar 13, 2026
Merged

ci: fetch all ida version automatically, add an action to single build#1
williballenthin merged 2 commits intoHexRaysSA:ci-ghafrom
msobon-hexrays:ci-gha

Conversation

@msobon-hexrays
Copy link
Member

build.yml

  • Replaced hardcoded IDA version matrix with dynamic discovery via hcli --list-tags — new IDA versions are picked up
    automatically
  • Collapsed release job into a single job to avoid race conditions

build-single.yml (new)

  • Build and optionally release for a single IDA version
  • Supports latest for both IDA version and release tag
  • Validates inputs before starting builds
  • Triggerable manually or via API

@williballenthin
Copy link

would you consider adding quick notes somewhere, maybe even just in this issue discussion, for exactly what should be done for:

  1. new bindiff releases
  2. new IDA releases

@msobon-hexrays
Copy link
Member Author
msobon-hexrays commented Mar 13, 2026

@williballenthin

  1. A new tag needs to be pushed to the ci-gha branch. This will start the build for all IDA versions starting from 9.0. This will also automatically create a GitHub release
  2. build-single.yml needs to be launched with ida_version=latest and release_tag=latest. Alternatively one can specify the new IDA version explicitly like ida_version=9.5. This will build the plugin for a specific IDA version, and add it to existing GitHub release.

The build-single.yml can be triggered externally via GitHub CLI:

gh workflow run build-single.yml --repo HexRaysSA/bindiff --ref ci-gha -f ida_version=latest -f release_tag=latest

@williballenthin
Copy link

A new tag needs to be pushed to the ci-gha branch.

It would be convenient to keep much of the maintenance within the GH UI, so we can create a release from GH.

@msobon-hexrays
Copy link
Member Author

A new tag needs to be pushed to the ci-gha branch.

It would be convenient to keep much of the maintenance within the GH UI, so we can create a release from GH.

You can create a tag using GitHub UI. After creating a tag the job will be started automatically

@williballenthin williballenthin merged commit 901be00 into HexRaysSA:ci-gha Mar 13, 2026
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

0