Skip to content

Commit 333c8d7

Browse files
authored
Updates PR workflow to remove superfluous jobs (#134)
* set RUST_BACKTRACE to full not FULL Signed-off-by: Simon Davies <[email protected]> * remove superfluous jobs from PR workflow Signed-off-by: Simon Davies <[email protected]> --------- Signed-off-by: Simon Davies <[email protected]>
1 parent 7ed76e8 commit 333c8d7

File tree

2 files changed

+1
-113
lines changed

2 files changed

+1
-113
lines changed

.github/workflows/ValidatePullRequest.yml

Lines changed: 0 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -65,115 +65,3 @@ jobs:
6565
- uses: actions/checkout@v4
6666
- name: Spell Check Repo
6767
uses: crate-ci/typos@master
68-
69-
#####
70-
# start build-on-windows
71-
#####
72-
build-on-windows:
73-
needs:
74-
- docs-pr
75-
if: ${{needs.docs-pr.outputs.docs-only != 'true'}}
76-
runs-on: ${{ matrix.os }}
77-
strategy:
78-
fail-fast: true
79-
matrix:
80-
build: [windows-debug, windows-release]
81-
include:
82-
- build: windows-debug
83-
os: [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-amd"]
84-
config: debug
85-
platform: x64
86-
- build: windows-release
87-
os: [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-amd"]
88-
config: release
89-
platform: x64
90-
env:
91-
RUST_BACKTRACE: FULL
92-
93-
steps:
94-
- uses: actions/checkout@v4
95-
96-
- name: Get system info
97-
run: |
98-
echo "cmd /ver"
99-
cmd /ver
100-
echo "systeminfo"
101-
systeminfo
102-
103-
# Run this so we can use just targets in this workflow
104-
- uses: hyperlight-dev/[email protected]
105-
with:
106-
rust-toolchain: "1.81.0"
107-
env:
108-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109-
110-
111-
#####
112-
# end build-on-windows
113-
#####
114-
115-
#####
116-
# start build-on-linux
117-
#####
118-
build-on-linux:
119-
needs:
120-
- docs-pr
121-
if: ${{needs.docs-pr.outputs.docs-only != 'true'}}
122-
runs-on: ${{ matrix.os }}
123-
strategy:
124-
fail-fast: true
125-
matrix:
126-
build:
127-
[
128-
linux-kvm-debug,
129-
linux-kvm-release,
130-
linux-hyperv-debug,
131-
linux-hyperv-release,
132-
]
133-
include:
134-
- build: linux-kvm-debug
135-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"]
136-
config: debug
137-
platform: x64
138-
hypervisor: kvm
139-
- build: linux-kvm-release
140-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"]
141-
config: release
142-
platform: x64
143-
hypervisor: kvm
144-
- build: linux-hyperv-debug
145-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-amd"]
146-
config: debug
147-
platform: x64
148-
hypervisor: hyperv
149-
- build: linux-hyperv-release
150-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-amd"]
151-
config: release
152-
platform: x64
153-
hypervisor: hyperv
154-
env:
155-
RUST_BACKTRACE: FULL
156-
157-
steps:
158-
- uses: actions/checkout@v4
159-
160-
- name: uname (linux)
161-
run: |
162-
echo "uname -a"
163-
uname -a
164-
echo "cat /etc/os-release"
165-
cat /etc/os-release
166-
167-
- uses: hyperlight-dev/[email protected]
168-
with:
169-
rust-toolchain: "1.81.0"
170-
env:
171-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
172-
173-
- name: Build C Guest Binaries
174-
run: |
175-
just build-c-guests ${{ matrix.config }}
176-
177-
#####
178-
# end build-on-linux
179-
#####

.github/workflows/dep_rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
env:
1616
CARGO_TERM_COLOR: always
17-
RUST_BACKTRACE: FULL
17+
RUST_BACKTRACE: full
1818

1919
permissions:
2020
id-token: write

0 commit comments

Comments
 (0)