-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7fa240a
commit 5473b45
Showing
1 changed file
with
1 addition
and
26 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 |
---|---|---|
|
@@ -27,31 +27,6 @@ jobs: | |
with: | ||
sdk-version: 22621 | ||
|
||
- name: Create DXC Directory | ||
run: | | ||
mkdir ${{github.workspace}}/dxc | ||
- name: Download DXC | ||
run: | | ||
# Descargar el archivo ZIP de DXC | ||
curl -LO https://github.com/microsoft/DirectXShaderCompiler/releases/download/v1.8.2407/dxc_2024_07_31.zip | ||
# Crear carpeta dxc si no existe | ||
New-Item -ItemType Directory -Path ${{github.workspace}}/dxc -ErrorAction SilentlyContinue | ||
# Extraer el archivo ZIP en la carpeta dxc | ||
Expand-Archive -Path dxc_2024_07_31.zip -DestinationPath ${{github.workspace}}/dxc | ||
- name: Verify DXC Directory | ||
run: | | ||
dir ${{github.workspace}}/dxc | ||
- name: Set up DXC environment variables | ||
run: | | ||
echo DXC_PATH=${{github.workspace}}/dxc >> $GITHUB_ENV | ||
echo DXC_INCLUDE_DIR=${{github.workspace}}/dxc/inc >> $GITHUB_ENV | ||
echo DXC_LIB_DIR=${{github.workspace}}/dxc/lib/x64 >> $GITHUB_ENV | ||
- name: Prepare Vulkan SDK | ||
uses: humbletim/[email protected] | ||
with: | ||
|
@@ -60,7 +35,7 @@ jobs: | |
vulkan-use-cache: true | ||
|
||
- name: Configure CMake | ||
run: cmake -S ${{github.workspace}}/Ifnity -B ${{github.workspace}}/Ifnity/build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INCLUDE_PATH=${{env.DXC_INCLUDE_DIR}} -DCMAKE_LIBRARY_PATH=${{env.DXC_LIB_DIR}} | ||
run: cmake -S ${{github.workspace}}/Ifnity -B ${{github.workspace}}/Ifnity/build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | ||
|
||
|
||
- name: Build | ||
|