Skip to content

Commit 4230484

Browse files
authored
Merge branch 'main' into adamperlin/panic-remove-allocations
2 parents 16697ed + f154d8e commit 4230484

File tree

34 files changed

+479
-892
lines changed

34 files changed

+479
-892
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,12 @@ RUN apt-get update \
2424
sudo \
2525
wget
2626

27-
ARG LLVM_VERSION=17
27+
ARG LLVM_VERSION=18
2828

2929
# Install llvm
3030
RUN wget https://apt.llvm.org/llvm.sh \
3131
&& chmod +x ./llvm.sh \
32-
&& sudo ./llvm.sh ${LLVM_VERSION} all \
33-
&& sudo ln -s /usr/lib/llvm-${LLVM_VERSION}/bin/clang-cl /usr/bin/clang-cl \
34-
&& sudo ln -s /usr/lib/llvm-${LLVM_VERSION}/bin/llvm-lib /usr/bin/llvm-lib \
35-
&& sudo ln -s /usr/lib/llvm-${LLVM_VERSION}/bin/lld-link /usr/bin/lld-link \
36-
&& sudo ln -s /usr/lib/llvm-${LLVM_VERSION}/bin/llvm-ml /usr/bin/llvm-ml \
32+
&& sudo ./llvm.sh ${LLVM_VERSION} clang clang-tools-extra \
3733
&& sudo ln -s /usr/lib/llvm-${LLVM_VERSION}/bin/ld.lld /usr/bin/ld.lld \
3834
&& sudo ln -s /usr/lib/llvm-${LLVM_VERSION}/bin/clang /usr/bin/clang
3935

.github/dependabot.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@ updates:
2121
- dependency-name: "mshv-bindings"
2222
versions: [ ">=0.2.1" ]
2323
open-pull-requests-limit: 20
24-
# Excluded workspace members - guests with custom linker flags
25-
- package-ecosystem: "cargo"
26-
directory: "/src/tests/rust_guests/callbackguest"
27-
schedule:
28-
interval: "daily"
29-
time: "03:00"
30-
labels:
31-
- "kind/dependencies"
32-
- "area/guest"
33-
open-pull-requests-limit: 5
3424
- package-ecosystem: "cargo"
3525
directory: "/src/tests/rust_guests/dummyguest"
3626
schedule:

.github/workflows/Benchmarks.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ jobs:
1414
# its execution. this dependency should be expressed in the dependent
1515
# workflow
1616
benchmark:
17+
timeout-minutes: 60
1718
strategy:
1819
fail-fast: true
1920
matrix:
20-
hypervisor: [hyperv, mshv, mshv3, kvm] # hyperv is windows, mshv and kvm are linux
21+
hypervisor: [hyperv, 'hyperv-ws2025', mshv, mshv3, kvm] # hyperv,hyperv-ws2025 are windows, mshv, mshv3 and kvm are linux
2122
cpu: [amd, intel]
22-
config: [release] # don't want to benchmark debug-builds
23-
24-
runs-on: ${{ fromJson(format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]', matrix.hypervisor == 'hyperv' && 'Windows' || 'Linux', matrix.hypervisor == 'hyperv' && 'win2022' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor, matrix.cpu)) }}
25-
23+
config: [release]
24+
runs-on: ${{ fromJson(
25+
format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]',
26+
(matrix.hypervisor == 'hyperv' || matrix.hypervisor == 'hyperv-ws2025') && 'Windows' || 'Linux',
27+
matrix.hypervisor == 'hyperv' && 'win2022' || matrix.hypervisor == 'hyperv-ws2025' && 'win2025' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor,
28+
matrix.cpu)) }}
2629
steps:
2730
### Setup ###
2831

@@ -48,10 +51,8 @@ jobs:
4851

4952
- name: Copy Guest Binaries
5053
run: |
51-
cp ./downloaded-rust-guest-binaries-release/callbackguest ./src/tests/rust_guests/bin/release/callbackguest
5254
cp ./downloaded-rust-guest-binaries-release/simpleguest ./src/tests/rust_guests/bin/release/simpleguest
5355
cp ./downloaded-rust-guest-binaries-release/dummyguest ./src/tests/rust_guests/bin/release/dummyguest
54-
cp ./downloaded-c-guest-binaries-release/callbackguest ./src/tests/c_guests/bin/release/callbackguest
5556
cp ./downloaded-c-guest-binaries-release/simpleguest ./src/tests/c_guests/bin/release/simpleguest
5657
5758
### Benchmarks ###

.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@v5
6767
- name: Spell Check Repo
68-
uses: crate-ci/typos@v1.35.6
68+
uses: crate-ci/typos@v1.36.2
6969

7070
license-headers:
7171
name: check license headers

.github/workflows/dep_build_guest_binaries.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
with:
4646
name: rust-guest-binaries-${{ matrix.config }}
4747
path: |
48-
src\tests\rust_guests\bin\${{ matrix.config }}\callbackguest
4948
src\tests\rust_guests\bin\${{ matrix.config }}\dummyguest
5049
src\tests\rust_guests\bin\${{ matrix.config }}\simpleguest
5150
if-no-files-found: error
@@ -55,6 +54,5 @@ jobs:
5554
with:
5655
name: c-guest-binaries-${{ matrix.config }}
5756
path: |
58-
src\tests\c_guests\bin\${{ matrix.config }}\callbackguest
5957
src\tests\c_guests\bin\${{ matrix.config }}\simpleguest
6058
if-no-files-found: error

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
"Cargo.toml",
44
// guest crates for testing, not part of the workspace
55
"src/tests/rust_guests/simpleguest/Cargo.toml",
6-
"src/tests/rust_guests/callbackguest/Cargo.toml"
76
]
87
}

0 commit comments

Comments
 (0)