File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,16 @@ function HasFlag {
29
29
# Switches for additional '--legacy' and '--32-bit' patches
30
30
$patches = @ (' -p config.yml' )
31
31
if (HasFlag ' --legacy' ) { $patches += @ (' -p patch.legacy.yml' ) }
32
- if (HasFlag ' --32-bit' ) { $patches += @ (' -p patch.32-bit.yml' ) }
32
+ if (HasFlag ' --32-bit' ) {
33
+ $patches += @ (' -p patch.32-bit.yml' )
34
+ # Ensure the target architecture is set to IA32
35
+ (Get-Content " $pwd \src\build.yml" ) -replace ' target: X64' , ' target: IA32' |
36
+ Set-Content " $pwd \src\build.yml"
37
+ } else {
38
+ # Ensure the target architecture is set to X64
39
+ (Get-Content " $pwd \src\build.yml" ) -replace ' target: IA32' , ' target: X64' |
40
+ Set-Content " $pwd \src\build.yml"
41
+ }
33
42
34
43
icm `
35
44
- ScriptBlock $ ([Scriptblock ]::Create($ (iwr ' https://raw.githubusercontent.com/Qonfused/OCE-Build/main/ci/bootstrap.ps1' ))) `
Original file line number Diff line number Diff line change 1
1
---
2
2
version : latest
3
3
build : DEBUG
4
+ target : X64
4
5
---
5
6
ACPI :
6
7
SSDT-HV-DEV-WS2022 : " ACPI/SSDT-HV-DEV-WS2022.dsl"
You can’t perform that action at this time.
0 commit comments