mirror of https://github.com/AxioDL/metaforce.git
GitHub Actions: Replace \ with / in Windows CMake paths
This commit is contained in:
parent
70e32b0456
commit
2693196c45
|
@ -173,9 +173,10 @@ jobs:
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
working-directory: ${{github.workspace}}/build
|
working-directory: ${{github.workspace}}/build
|
||||||
run: |
|
run: |
|
||||||
|
$workspace = $env:RUNNER_WORKSPACE -replace '\\', '/'
|
||||||
cmake $env:GITHUB_WORKSPACE -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DURDE_VECTOR_ISA=sse41 `
|
cmake $env:GITHUB_WORKSPACE -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DURDE_VECTOR_ISA=sse41 `
|
||||||
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_CXX_FLAGS= -DCMAKE_C_FLAGS= `
|
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_CXX_FLAGS= -DCMAKE_C_FLAGS= `
|
||||||
-DLLVM_ROOT_DIR="$env:RUNNER_WORKSPACE/LLVM" `
|
-DLLVM_ROOT_DIR="$workspace/LLVM" `
|
||||||
-DURDE_DLPACKAGE=urde-$env:GITHUB_RUN_NUMBER-win32-msvc-x86_64
|
-DURDE_DLPACKAGE=urde-$env:GITHUB_RUN_NUMBER-win32-msvc-x86_64
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -249,12 +250,13 @@ jobs:
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
working-directory: ${{github.workspace}}/build
|
working-directory: ${{github.workspace}}/build
|
||||||
run: |
|
run: |
|
||||||
|
$workspace = $env:RUNNER_WORKSPACE -replace '\\', '/'
|
||||||
cmake $env:GITHUB_WORKSPACE -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DURDE_VECTOR_ISA=sse41 `
|
cmake $env:GITHUB_WORKSPACE -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DURDE_VECTOR_ISA=sse41 `
|
||||||
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded `
|
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded `
|
||||||
-DCMAKE_C_COMPILER="$env:RUNNER_WORKSPACE/LLVM/bin/clang-cl.exe" `
|
-DCMAKE_C_COMPILER="$workspace/LLVM/bin/clang-cl.exe" `
|
||||||
-DCMAKE_CXX_COMPILER="$env:RUNNER_WORKSPACE/LLVM/bin/clang-cl.exe" `
|
-DCMAKE_CXX_COMPILER="$workspace/LLVM/bin/clang-cl.exe" `
|
||||||
-DCMAKE_LINKER="$env:RUNNER_WORKSPACE/LLVM/bin/lld-link.exe" `
|
-DCMAKE_LINKER="$workspace/LLVM/bin/lld-link.exe" `
|
||||||
-DLLVM_ROOT_DIR="$env:RUNNER_WORKSPACE/LLVM" `
|
-DLLVM_ROOT_DIR="$workspace/LLVM" `
|
||||||
-DURDE_DLPACKAGE=urde-$env:GITHUB_RUN_NUMBER-win32-clang-x86_64
|
-DURDE_DLPACKAGE=urde-$env:GITHUB_RUN_NUMBER-win32-clang-x86_64
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
Loading…
Reference in New Issue