Skip to content

Commit 595224b

Browse files
authored
Update CI.yaml
1 parent 4ce1b82 commit 595224b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/CI.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
$SDK_VERSION = Invoke-RestMethod -Uri https://vulkan.lunarg.com/sdk/latest/windows.txt
6464
Invoke-WebRequest -Uri https://sdk.lunarg.com/sdk/download/$SDK_VERSION/windows/vulkan_sdk.exe -OutFile vulkan_sdk.exe
6565
Start-Process -FilePath "vulkan_sdk.exe" -ArgumentList "in", "--al", "--confirm-command" -Wait
66+
$env:LIB += ";$env:VULKAN_SDK\Lib"
67+
echo "LIB=$env:LIB" >> $env:GITHUB_ENV
6668
6769
- run: cargo build --verbose --workspace --all-targets
6870
- run: cargo check --verbose --workspace --all-targets
@@ -77,11 +79,11 @@ jobs:
7779
- run: git diff --exit-code
7880

7981
- name: Generate cargo docs
80-
if: ${{ github.event_name == 'push' && matrix.rust == 'stable' }}
82+
if: ${{ github.event_name == 'push' && matrix.rust == 'stable' && runner.os == 'Linux' }}
8183
run: cargo doc --workspace --no-deps
8284

8385
- name: Upload artifact
84-
if: ${{ github.event_name == 'push' && matrix.rust == 'stable' }}
86+
if: ${{ github.event_name == 'push' && matrix.rust == 'stable' && runner.os == 'Linux' }}
8587
uses: actions/upload-pages-artifact@v3
8688
with:
8789
path: "./target/doc"

0 commit comments

Comments
 (0)