Skip to content

Allow installing additional deb packages. - #69

Merged
leighmcculloch merged 2 commits into
stellar:mainfrom
fnando:allow-installing-additional-deb-packages
Sep 3, 2024
Merged

Allow installing additional deb packages.#69
leighmcculloch merged 2 commits into
stellar:mainfrom
fnando:allow-installing-additional-deb-packages

Conversation

@fnando

@fnando fnando commented Jul 4, 2024

Copy link
Copy Markdown
Member

No description provided.

@chadoh chadoh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I assume the variable is set in a UI or separate repo somewhere?

@chadoh

chadoh commented Jul 8, 2024

Copy link
Copy Markdown

Ah, I see, stellar/stellar-cli#1434

@leighmcculloch leighmcculloch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Another option is we disable the publish from compiling the package, so that the publish operation doesn't need to learn about how to build each rust crate. All the repos ensure the package builds before publishing it in any case.

@leighmcculloch
leighmcculloch merged commit d62acb3 into stellar:main Sep 3, 2024
run: sudo apt-get update && sudo apt-get -y install ${{ inputs.additional-deb-packages }}
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup update

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@fnando I merged this PR, but I think it would also be fair to add --no-verify to the publish which will mean the crate won't be built and you shouldn't need any deps installed.

Adding --no-verify might normally be a bit weird, except that all rust repos also use the publish dry run job prior, so we already have a guard against publishing things that don't verify (build).

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.

3 participants