-
Notifications
You must be signed in to change notification settings - Fork 55
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
leongross
wants to merge
17
commits into
main
Choose a base branch
from
leongross/build_versioned_release_rom
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
95c2e59
ci: Build ROM release from versioned git ref
benjamindoron 0082839
ci: refacor build_release.sh
leongross cdda603
ci: add re-usable github workflow to build rom and fw
leongross e534214
ci: integrate versioned-checkout to to fpga.yml and fw-test-emu.yml and
leongross e603d6b
ci: use composite workflow instead of action
leongross 10fcb48
ci: update workflow triggers
leongross 0b01f04
ci: add versioned-checkout test workflow
leongross edffd8d
ci: debug artifact transfer
leongross 068fa8c
ci: add artifacts-suffix for workflow artifact uniquenes
leongross b6c185d
cleanup
leongross 9b2b085
ci: export RTL_VERSION and ITRNG to get picked up
leongross 7f3eac6
hw: add file checks in fpga_configuration
leongross c16e22a
ci: check fi hw-version is set properly
leongross b2ba74b
ci: enable emulator versioned checkout
leongross b2bc5fa
swemu: wait for versioned checkout
leongross 62abe57
ci: remove old firmware test paths
leongross 0c46993
ci: debug file sizes and install missing rust dependecies
leongross File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Test Versioned Workflow | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
hw-version: | ||
default: "latest" | ||
type: string | ||
rom-ref: | ||
default: "main" | ||
type: string | ||
fw-ref: | ||
default: "main" | ||
type: string | ||
artifact-suffix: | ||
default: "test" | ||
type: string | ||
pull_request: | ||
inputs: | ||
hw-version: | ||
default: "latest" | ||
type: string | ||
rom-ref: | ||
default: "main" | ||
type: string | ||
fw-ref: | ||
default: "main" | ||
type: string | ||
artifact-suffix: | ||
default: "test" | ||
type: string | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test-versioned-checkout: | ||
uses: ./.github/workflows/versioned-checkout.yml | ||
with: | ||
rom-ref: "main" | ||
rom-logging: false | ||
fw-ref: "main" | ||
hw-version: "latest" | ||
workflow_call: true | ||
artifact-suffix: "test" | ||
|
||
get-artifacts: | ||
runs-on: ubuntu-22.04 | ||
needs: test-versioned-checkout | ||
steps: | ||
- name: Download caliptra-unified artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: caliptra-unified-main-main-latest-test | ||
path: /tmp/caliptra-unified |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.