-
Notifications
You must be signed in to change notification settings - Fork 6
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
Showing
17 changed files
with
190 additions
and
104 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 |
---|---|---|
|
@@ -60,25 +60,16 @@ jobs: | |
echo "${{github.workspace}}/boost" >> $GITHUB_PATH | ||
echo "${{github.workspace}}/boost/boost" >> $GITHUB_PATH | ||
- name: Install Cuda (Windows) | ||
if: matrix.os == 'windows-latest' | ||
uses: Jimver/[email protected] | ||
id: cuda-toolkit-windows | ||
with: | ||
cuda: '12.3.2' | ||
|
||
- name: Add Cuda to PATH (Windows) | ||
if: matrix.os == 'windows-latest' | ||
run: | | ||
echo "Installed cuda version is: ${{steps.cuda-toolkit-windows.outputs.cuda}}" | ||
echo "Cuda install location: ${{steps.cuda-toolkit-windows.outputs.CUDA_PATH}}" | ||
echo "${{steps.cuda-toolkit-windows.outputs.CUDA_PATH}}" >> $GITHUB_PATH | ||
echo "${{steps.cuda-toolkit-windows.outputs.CUDA_PATH}}/bin" >> $GITHUB_PATH | ||
echo "nvcc -V" | ||
- name: Setup CUDA Toolkit | ||
id: cuda-toolkit | ||
shell: pwsh | ||
run: .\Scripts\setup-cuda.ps1 | ||
env: | ||
INPUT_CUDA_VERSION: 12.5.1 | ||
|
||
- name: Configure CMake (Windows) | ||
if: matrix.os == 'windows-latest' | ||
run: cmake -B ${{github.workspace}}/build -DWERROR=YES -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DRAYX_REQUIRES_CUDA=ON -DCUDA_TOOLKIT_ROOT_DIR="${{steps.cuda-toolkit-windows.outputs.CUDA_PATH}}" | ||
run: cmake -B ${{github.workspace}}/build -DWERROR=YES -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DRAYX_REQUIRES_CUDA=ON | ||
|
||
- name: Install dependencies (Ubuntu) | ||
if: matrix.os == 'ubuntu-latest' | ||
|
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
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 |
---|---|---|
|
@@ -17,22 +17,22 @@ jobs: | |
git submodule sync | ||
git submodule update --init --recursive | ||
- name: Prepare Vulkan SDK | ||
uses: humbletim/[email protected] | ||
with: | ||
vulkan-query-version: 1.3.275.0 | ||
vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Cross, SPIRV-Tools, Glslang | ||
vulkan-use-cache: true | ||
|
||
- name: Download glslangValidator | ||
run: curl -L -o glslang.zip https://github.com/KhronosGroup/glslang/releases/download/main-tot/glslang-master-windows-Release.zip | ||
|
||
- name: Extract glslangValidator | ||
shell: powershell | ||
run: Expand-Archive -Path glslang.zip -DestinationPath ${{github.workspace}}/glslang | ||
|
||
- name: Add glslangValidator to PATH | ||
run: echo "${{github.workspace}}/glslang/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
# - name: Prepare Vulkan SDK | ||
# uses: humbletim/[email protected] | ||
# with: | ||
# vulkan-query-version: 1.3.275.0 | ||
# vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Cross, SPIRV-Tools, Glslang | ||
# vulkan-use-cache: true | ||
# | ||
# - name: Download glslangValidator | ||
# run: curl -L -o glslang.zip https://github.com/KhronosGroup/glslang/releases/download/main-tot/glslang-master-windows-Release.zip | ||
# | ||
# - name: Extract glslangValidator | ||
# shell: powershell | ||
# run: Expand-Archive -Path glslang.zip -DestinationPath ${{github.workspace}}/glslang | ||
# | ||
# - name: Add glslangValidator to PATH | ||
# run: echo "${{github.workspace}}/glslang/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
|
||
- name: Install boost | ||
uses: MarkusJx/[email protected] | ||
|
@@ -48,23 +48,15 @@ jobs: | |
echo "${{github.workspace}}/boost" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
echo "${{github.workspace}}/boost/boost" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
- name: Install Cuda | ||
uses: Jimver/[email protected] | ||
- name: Setup CUDA Toolkit | ||
id: cuda-toolkit | ||
with: | ||
cuda: '12.3.2' | ||
|
||
- name: Add Cuda to PATH | ||
run: | | ||
echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}" | ||
echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}" | ||
echo "nvcc -V" | ||
nvcc -V | ||
echo "${{steps.cuda-toolkit.outputs.CUDA_PATH}}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
echo "${{steps.cuda-toolkit.outputs.CUDA_PATH}}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
shell: pwsh | ||
run: .\Scripts\setup-cuda.ps1 | ||
env: | ||
INPUT_CUDA_VERSION: 12.5.1 | ||
|
||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}/build -DWERROR=YES -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DRAYX_REQUIRES_CUDA=ON -DCUDA_TOOLKIT_ROOT_DIR="${{steps.cuda-toolkit.outputs.CUDA_PATH}}" | ||
run: cmake -B ${{github.workspace}}/build -DWERROR=YES -DRAYX_REQUIRES_CUDA=ON | ||
|
||
- name: Build | ||
run: | | ||
|
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
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
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
File renamed without changes.
File renamed without changes.
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
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
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
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
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
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
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
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
Oops, something went wrong.