Skip to content

Commit db0dbe5

Browse files
committed
try with and without features
1 parent c06f54d commit db0dbe5

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

.github/workflows/CI.yaml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,43 @@ jobs:
4848
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list http://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list
4949
sudo apt update
5050
sudo apt install vulkan-sdk
51-
51+
52+
- name: Dependencies
53+
if: runner.os == 'macOS'
54+
run: |
55+
brew install vulkan-loader
56+
57+
- name: Dependencies
58+
if: runner.os == 'Windows'
59+
run: |
60+
$SDK_VERSION = Invoke-RestMethod -Uri https://vulkan.lunarg.com/sdk/latest/windows.txt
61+
Invoke-WebRequest -Uri https://sdk.lunarg.com/sdk/download/$SDK_VERSION/windows/vulkan_sdk.exe -OutFile vulkan_sdk.exe
62+
Start-Process -FilePath vulkan_sdk.exe -ArgumentList "/S" -Wait
63+
64+
- run: cargo build --verbose --workspace --all-targets
65+
- run: cargo check --verbose --workspace --all-targets
66+
- run: cargo clippy --verbose --workspace --all-targets -- -D warnings
67+
- run: cargo fmt --all -- --check
68+
- run: cargo test --verbose --workspace --all-targets --no-fail-fast --lib --bins --examples --tests --benches
5269
- run: cargo build --verbose --workspace --all-targets --all-features
5370
- run: cargo check --verbose --workspace --all-targets --all-features
5471
- run: cargo clippy --verbose --workspace --all-targets --all-features -- -D warnings
5572
- run: cargo fmt --all -- --check
5673
- run: cargo test --verbose --workspace --all-targets --all-features --no-fail-fast --lib --bins --examples --tests --benches
5774
- run: git diff --exit-code
58-
75+
5976
- name: Generate cargo docs
6077
if: ${{ github.event_name == 'push' && matrix.rust == 'stable' }}
6178
run: cargo doc --workspace --no-deps
62-
79+
6380
- name: Upload artifact
6481
if: ${{ github.event_name == 'push' && matrix.rust == 'stable' }}
6582
uses: actions/upload-pages-artifact@v3
6683
with:
6784
path: "./target/doc"
68-
85+
6986
- name: Deploy to GitHub Pages
7087
if: ${{ github.event_name == 'push' && matrix.rust == 'stable' }}
7188
id: deployment
7289
uses: actions/deploy-pages@v4
90+

0 commit comments

Comments
 (0)