Skip to content

Commit de6aa29

Browse files
Try setup msvc step
1 parent f7e74d3 commit de6aa29

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ jobs:
9696

9797
- name: Setup sccache
9898
uses: mozilla-actions/sccache-action@v0.0.9
99+
100+
- name: Setup msvc
101+
uses: ilammy/msvc-dev-cmd@v1
102+
if: runner.os == 'Windows'
99103

100104
- name: Setup platform
101105
continue-on-error: true

scripts/build/Platform/Windows/build_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
"PARAMETERS": {
160160
"CONFIGURATION": "profile",
161161
"OUTPUT_DIRECTORY": "build\\windows",
162-
"CMAKE_OPTIONS": "-G Ninja -DCMAKE_SYSTEM_VERSION=10.0 -DO3DE_TEST_IMPACT_INSTRUMENTATION_BIN=%TEST_IMPACT_WIN_BINARY% -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl",
162+
"CMAKE_OPTIONS": "-G Ninja -DCMAKE_SYSTEM_VERSION=10.0 -DO3DE_TEST_IMPACT_INSTRUMENTATION_BIN=%TEST_IMPACT_WIN_BINARY%",
163163
"CMAKE_LY_PROJECTS": "AutomatedTesting",
164164
"CMAKE_TARGET": "ALL_BUILD",
165165
"CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"

scripts/build/Platform/iOS/build_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"OUTPUT_DIRECTORY": "build/ios",
4747
"CMAKE_OPTIONS": "-G Ninja -DCMAKE_TOOLCHAIN_FILE=cmake/Platform/iOS/Toolchain_ios.cmake -DLY_MONOLITHIC_GAME=TRUE -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED=FALSE -DLY_IOS_CODE_SIGNING_IDENTITY=\"\" -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS=\"\" -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=FALSE",
4848
"CMAKE_LY_PROJECTS": "AutomatedTesting",
49-
"CMAKE_TARGET": "ALL_BUILD",
49+
"CMAKE_TARGET": "all",
5050
"CMAKE_NATIVE_BUILD_ARGS": ""
5151
}
5252
},

0 commit comments

Comments
 (0)