microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
7c3ac15ad56c50a9668a2afe27075f80372e009f

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/copilot-setup-steps.yml

41lines · modecode

1name: "Copilot Setup Steps"
2
3# Validate the setup steps when they change, and allow manual testing.
4on:
5 workflow_dispatch:
6 push:
7 paths:
8 - .github/workflows/copilot-setup-steps.yml
9 pull_request:
10 paths:
11 - .github/workflows/copilot-setup-steps.yml
12
13jobs:
14 # This job name is required — the Copilot coding agent looks for it by name.
15 copilot-setup-steps:
16 runs-on: ubuntu-latest
17 permissions:
18 contents: read
19 steps:
20 - name: Checkout code
21 uses: actions/checkout@v6
22
23 # Install the exact Rust toolchain used by CI.
24 - name: Install Rust toolchain
25 run: |
26 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
27 | sh -s -- --default-toolchain=1.94.0 -y
28 echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
29
30 # Install cargo-nextest so the agent can run unit tests.
31 # Keep this version in sync with NEXTEST in
32 # flowey/flowey_lib_hvlite/src/_jobs/cfg_versions.rs
33 - name: Install cargo-nextest
34 run: |
35 curl -LsSf https://get.nexte.st/0.9.101/linux | tar zxf - -C "$HOME/.cargo/bin"
36
37 # Restore protoc and other build dependencies via the canonical
38 # flowey pipeline. This compiles flowey_hvlite first, then downloads
39 # protoc, sysroots, firmware, and test kernels.
40 - name: Restore packages
41 run: cargo xflowey restore-packages --no-compat-igvm
42