Skip to content
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

Upload built binaries to artifacts #163

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

Conversation

thomasfire
Copy link

Also uses objcopy before uploading, so it can be more useful for end-users.

Copy link
Member

@jordens jordens left a comment

Choose a reason for hiding this comment

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

Thanks. This will be useful.
But please do read and check your contribution first.
Also c.f. booster.

command: objcopy
args: --release --bin thermostat-eem -- -O binary ${{ matrix.toolchain }}-thermostat-eem.bin
- name: Upload a Build Artifact
uses: actions/[email protected]
Copy link
Member

Choose a reason for hiding this comment

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

That's outdated.

with:
command: objcopy
args: --release --bin thermostat-eem -- -O binary ${{ matrix.toolchain }}-thermostat-eem.bin
- name: Upload a Build Artifact
Copy link
Member

Choose a reason for hiding this comment

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

"a"?
Please read and make useful when copy-pasting.

@@ -72,10 +72,26 @@ jobs:
toolchain: ${{ matrix.toolchain }}
target: thumbv7em-none-eabihf
override: true
components: llvm-tools-preview
- name: Install binary utils
uses: actions-rs/cargo@v1
Copy link
Member

Choose a reason for hiding this comment

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

Deprecated and archived.

uses: actions-rs/cargo@v1
with:
command: objcopy
args: --release --bin thermostat-eem -- -O binary ${{ matrix.toolchain }}-thermostat-eem.bin
Copy link
Member

Choose a reason for hiding this comment

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

Why the toolchain in the name?
You'd only want the upload for a single toolchain.
But instead potentially and likely for multiple features.

Copy link
Author

Choose a reason for hiding this comment

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

Well, I didn't know which binary is regarded to be official. For now I left only stable binary and moved cargo binutils under condition, so it would consume a bit less time quote.

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