Skip to content

Commit a659088

Browse files
authored
Merge branch 'main' into fix/typo-in-rust-example
2 parents 1c4d596 + 617b158 commit a659088

File tree

27 files changed

+388
-359
lines changed

27 files changed

+388
-359
lines changed

.github/workflows/CreateRelease.yml

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ jobs:
8383
[
8484
build-rust-ubuntu,
8585
build-rust-windows,
86-
build-guest-binaries,
8786
benchmarks,
8887
]
8988

@@ -117,20 +116,6 @@ jobs:
117116
echo "HYPERLIGHT_VERSION=$version" >> $GITHUB_ENV
118117
echo "HYPERLIGHT_VERSION=$version"
119118
120-
- name: Download Guest Binaries
121-
uses: actions/download-artifact@v4
122-
with:
123-
name: guest-binaries-${{ env.CONFIG }}
124-
path: ./downloaded-guest-binaries-${{ env.CONFIG }}
125-
126-
- name: Copy Guest Binaries
127-
run: |
128-
cp ./downloaded-guest-binaries-${{ env.CONFIG }}/callbackguest ./src/tests/rust_guests/bin/${{ env.CONFIG }}/callbackguest
129-
cp ./downloaded-guest-binaries-${{ env.CONFIG }}/callbackguest.exe ./src/tests/rust_guests/bin/${{ env.CONFIG }}/callbackguest.exe
130-
cp ./downloaded-guest-binaries-${{ env.CONFIG }}/simpleguest ./src/tests/rust_guests/bin/${{ env.CONFIG }}/simpleguest
131-
cp ./downloaded-guest-binaries-${{ env.CONFIG }}/simpleguest.exe ./src/tests/rust_guests/bin/${{ env.CONFIG }}/simpleguest.exe
132-
cp ./downloaded-guest-binaries-${{ env.CONFIG }}/dummyguest ./src/tests/rust_guests/bin/${{ env.CONFIG }}/dummyguest
133-
134119
- name: Build and archive guest library + header files
135120
run: |
136121
just tar-headers
@@ -159,20 +144,19 @@ jobs:
159144
- name: Extract release notes from changelog
160145
if: ${{ contains(github.ref, 'refs/heads/release/') }}
161146
run: just create-release-notes v${{ env.HYPERLIGHT_VERSION }} > RELEASE_NOTES.md
147+
env:
148+
GH_TOKEN: ${{ github.token }}
162149

163150
- name: Extract prerelease notes from changelog
164151
if: ${{ github.ref=='refs/heads/main' }}
165152
run: just create-release-notes dev-latest > RELEASE_NOTES.md
153+
env:
154+
GH_TOKEN: ${{ github.token }}
166155

167156
- name: Create release
168157
if: ${{ contains(github.ref, 'refs/heads/release/') }}
169158
run: |
170159
gh release create v${{ env.HYPERLIGHT_VERSION }} -t "Release v${{ env.HYPERLIGHT_VERSION }}" --notes-file RELEASE_NOTES.md \
171-
src/tests/rust_guests/bin/${{ env.CONFIG }}/callbackguest \
172-
src/tests/rust_guests/bin/${{ env.CONFIG }}/callbackguest.exe \
173-
src/tests/rust_guests/bin/${{ env.CONFIG }}/simpleguest \
174-
src/tests/rust_guests/bin/${{ env.CONFIG }}/simpleguest.exe \
175-
src/tests/rust_guests/bin/${{ env.CONFIG }}/dummyguest \
176160
benchmarks_Windows_hyperv_amd.tar.gz \
177161
benchmarks_Windows_hyperv_intel.tar.gz \
178162
benchmarks_Linux_kvm_amd.tar.gz \
@@ -192,11 +176,6 @@ jobs:
192176
run: |
193177
gh release delete dev-latest -y --cleanup-tag || true
194178
gh release create dev-latest -t "Latest prerelease from main branch" --notes-file RELEASE_NOTES.md --latest=false -p \
195-
src/tests/rust_guests/bin/${{ env.CONFIG }}/callbackguest \
196-
src/tests/rust_guests/bin/${{ env.CONFIG }}/callbackguest.exe \
197-
src/tests/rust_guests/bin/${{ env.CONFIG }}/simpleguest \
198-
src/tests/rust_guests/bin/${{ env.CONFIG }}/simpleguest.exe \
199-
src/tests/rust_guests/bin/${{ env.CONFIG }}/dummyguest \
200179
benchmarks_Windows_hyperv_amd.tar.gz \
201180
benchmarks_Windows_hyperv_intel.tar.gz \
202181
benchmarks_Linux_kvm_amd.tar.gz \

.github/workflows/ValidatePullRequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
steps:
6666
- uses: actions/checkout@v4
6767
- name: Spell Check Repo
68-
uses: crate-ci/[email protected].1
68+
uses: crate-ci/[email protected].2
6969

7070
# Gate PR merges on this specific "join-job" which requires all other
7171
# jobs to run first. We need this job since we cannot gate on particular jobs

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,3 +468,6 @@ hyperlight_guest.h
468468
.mono
469469

470470
!.gitkeep
471+
472+
# gdb
473+
.gdbinit

CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

55
## [Prerelease] - Unreleased
66

7-
### Added
8-
-
97

10-
### Changed
11-
-
8+
## [v0.4.0] - 2025-04-30
129

13-
### Removed
14-
-
10+
### Changed
11+
- Metrics are now emitted using the [metrics](https://crates.io/crates/metrics) crate by @ludfjig in [#361](https://github.com/hyperlight-dev/hyperlight/pull/361)
1512

1613
### Fixed
17-
-
14+
- Fixed race condition causing thread to incorrectly believe it finished executing by @ludfjig in [#385](https://github.com/hyperlight-dev/hyperlight/pull/385)
15+
- Fixed incorrect logging levels in guest by @simongdavies in [#410](https://github.com/hyperlight-dev/hyperlight/pull/410)
16+
- Fixed missing compiler flags for building c guests by @prydt in [#421](https://github.com/hyperlight-dev/hyperlight/pull/421)
1817

1918
## [v0.3.0] - 2025-03-27
2019

@@ -65,7 +64,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6564
The Initial Hyperlight Release 🎉
6665

6766

68-
[Prerelease]: <https://github.com/hyperlight-dev/hyperlight/compare/v0.3.0..HEAD>
67+
[Prerelease]: <https://github.com/hyperlight-dev/hyperlight/compare/v0.4.0..HEAD>
68+
[v0.4.0]: <https://github.com/hyperlight-dev/hyperlight/compare/v0.3.0...v0.4.0>
6969
[v0.3.0]: <https://github.com/hyperlight-dev/hyperlight/compare/v0.2.0...v0.3.0>
7070
[v0.2.0]: <https://github.com/hyperlight-dev/hyperlight/compare/v0.1.0...v0.2.0>
71-
[v0.1.0]: <https://github.com/hyperlight-dev/hyperlight/releases/tag/v0.1.0>
71+
[v0.1.0]: <https://github.com/hyperlight-dev/hyperlight/releases/tag/v0.1.0>

0 commit comments

Comments
 (0)