-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
7ed76e8
commit 333c8d7
Showing
2 changed files
with
1 addition
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,115 +65,3 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- name: Spell Check Repo | ||
uses: crate-ci/typos@master | ||
|
||
##### | ||
# start build-on-windows | ||
##### | ||
build-on-windows: | ||
needs: | ||
- docs-pr | ||
if: ${{needs.docs-pr.outputs.docs-only != 'true'}} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
build: [windows-debug, windows-release] | ||
include: | ||
- build: windows-debug | ||
os: [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-amd"] | ||
config: debug | ||
platform: x64 | ||
- build: windows-release | ||
os: [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-amd"] | ||
config: release | ||
platform: x64 | ||
env: | ||
RUST_BACKTRACE: FULL | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Get system info | ||
run: | | ||
echo "cmd /ver" | ||
cmd /ver | ||
echo "systeminfo" | ||
systeminfo | ||
# Run this so we can use just targets in this workflow | ||
- uses: hyperlight-dev/[email protected] | ||
with: | ||
rust-toolchain: "1.81.0" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
##### | ||
# end build-on-windows | ||
##### | ||
|
||
##### | ||
# start build-on-linux | ||
##### | ||
build-on-linux: | ||
needs: | ||
- docs-pr | ||
if: ${{needs.docs-pr.outputs.docs-only != 'true'}} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
build: | ||
[ | ||
linux-kvm-debug, | ||
linux-kvm-release, | ||
linux-hyperv-debug, | ||
linux-hyperv-release, | ||
] | ||
include: | ||
- build: linux-kvm-debug | ||
os: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"] | ||
config: debug | ||
platform: x64 | ||
hypervisor: kvm | ||
- build: linux-kvm-release | ||
os: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"] | ||
config: release | ||
platform: x64 | ||
hypervisor: kvm | ||
- build: linux-hyperv-debug | ||
os: [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-amd"] | ||
config: debug | ||
platform: x64 | ||
hypervisor: hyperv | ||
- build: linux-hyperv-release | ||
os: [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-amd"] | ||
config: release | ||
platform: x64 | ||
hypervisor: hyperv | ||
env: | ||
RUST_BACKTRACE: FULL | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: uname (linux) | ||
run: | | ||
echo "uname -a" | ||
uname -a | ||
echo "cat /etc/os-release" | ||
cat /etc/os-release | ||
- uses: hyperlight-dev/[email protected] | ||
with: | ||
rust-toolchain: "1.81.0" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build C Guest Binaries | ||
run: | | ||
just build-c-guests ${{ matrix.config }} | ||
##### | ||
# end build-on-linux | ||
##### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters