Skip to content

ci: Build ROM release from versioned git ref (revive) #1907

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

leongross
Copy link
Member

Revive of PR #1604.

@leongross leongross marked this pull request as ready for review January 24, 2025 15:23
@@ -25,6 +25,9 @@ on:
rom-version:
default: "latest"
type: string
rom-ref:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think ultimately our goal is for the nightly release workflow to be runnable with specified ROM & FW refs. Would it make sense to try to factor out some of the steps in this file so it can be reused in the nightly one as well?

Not sure if that would improve things or just make the CI more confusing.

@leongross leongross force-pushed the leongross/build_versioned_release_rom branch from 362878e to 1d48817 Compare January 31, 2025 10:32

- name: Generate release zip
run: |
./ci-tools/release/build_release.sh "_versioned_build_test_" ${{ inputs.rom-ref }} ${{ inputs.firmware-version }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So when we talk about firmware this means FMC and RT, right? So we don't want to consider different revisions for FMC and RT?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya, I think currently it's fine to build FMC and RT from the same revision.

@leongross leongross force-pushed the leongross/build_versioned_release_rom branch 4 times, most recently from 5ba7955 to 461e177 Compare March 3, 2025 11:29
@leongross leongross force-pushed the leongross/build_versioned_release_rom branch 4 times, most recently from 2fc0287 to 03ce821 Compare March 21, 2025 14:39
@leongross leongross force-pushed the leongross/build_versioned_release_rom branch 2 times, most recently from c24504c to 1642751 Compare March 24, 2025 14:42
benjamindoron and others added 6 commits March 28, 2025 14:33
* trap exit (induced e.g. by set -e) and add cleanup when script calls
  early exit
* update script to comply with SC2086
* change return codes to 0-255 range SC2242
* add verbosity flags for commands modifying the filesystem

Signed-off-by: leongross <[email protected]>
* remove unnecessary pull_requests trigger for fpga.yml
* re-add the pull_requests trigger fro versioned-full-build-test

Signed-off-by: leongross <[email protected]>
@leongross leongross force-pushed the leongross/build_versioned_release_rom branch 6 times, most recently from f9e12fb to c68098a Compare March 31, 2025 12:56
@leongross leongross force-pushed the leongross/build_versioned_release_rom branch from c68098a to 13a9dfb Compare March 31, 2025 13:32
@leongross leongross force-pushed the leongross/build_versioned_release_rom branch from 13a9dfb to b2ba74b Compare April 10, 2025 08:56
@leongross leongross force-pushed the leongross/build_versioned_release_rom branch 9 times, most recently from f98d6f8 to 831ac19 Compare April 18, 2025 11:01
@leongross leongross force-pushed the leongross/build_versioned_release_rom branch from 831ac19 to 62abe57 Compare April 18, 2025 11:28
@jhand2
Copy link
Collaborator

jhand2 commented Apr 21, 2025

Hey @leongross, it looks like there's some failing CI in this PR. Any questions you have for getting this running?

@leongross
Copy link
Member Author

leongross commented Apr 24, 2025

I am not entirely sure what the reason is for the error; in the sw-emulator test suites for the builder the rust toolchain (module core) is not picked up properly; will investigate. The FPGA test complete successfully though.

@leongross leongross force-pushed the leongross/build_versioned_release_rom branch 7 times, most recently from e0dba13 to 619c4a1 Compare April 25, 2025 13:59
@leongross leongross force-pushed the leongross/build_versioned_release_rom branch from 619c4a1 to 0c46993 Compare April 25, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants