Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/CargoPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
fi
}

needs_publish hyperlight-libc
needs_publish hyperlight-common
needs_publish hyperlight-guest
needs_publish hyperlight-guest-macro
Expand All @@ -81,6 +82,13 @@ jobs:
- name: Authenticate with crates.io
uses: rust-lang/crates-io-auth-action@v1
id: crates-io-auth

- name: Publish hyperlight-libc
continue-on-error: ${{ inputs.dry_run }}
run: cargo publish --manifest-path ./src/hyperlight_libc/Cargo.toml ${{ inputs.dry_run && '--dry-run' || '' }}
env:
CARGO_REGISTRY_TOKEN: ${{ steps.crates-io-auth.outputs.token }}
if: env.PUBLISH_HYPERLIGHT_LIBC != 'false'

- name: Publish hyperlight-common
continue-on-error: ${{ inputs.dry_run }}
Expand Down
3 changes: 1 addition & 2 deletions src/hyperlight_libc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

[package]
name = "hyperlight-libc"
links = "c"
Expand All @@ -8,7 +7,7 @@ rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
readme.workspace = true
readme = "README.md"
description = """
This crate provides picolibc for Hyperlight guests.
It builds the picolibc library and generates bindings to the libc types and functions.
Expand Down
Loading