Skip to content

Commit 0e4c679

Browse files
ci testing on windows / vulkan
1 parent c0c3832 commit 0e4c679

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,28 @@ jobs:
6060
env:
6161
RUSTFLAGS: --cfg run_in_browser
6262
continue-on-error: ${{ runner.os == 'macOS' }}
63+
krnlc-windows:
64+
runs-on: windows-latest
65+
timeout-minutes: 20
66+
steps:
67+
- uses: actions/checkout@v4
68+
- name: install toolchains
69+
run: |
70+
rustup set profile minimal
71+
rustup toolchain install stable nightly --no-self-update
72+
rustup toolchain install nightly-2023-05-27 --component rust-src,rustc-dev,llvm-tools-preview --no-self-update
73+
- name: install vulkan
74+
uses: jakoch/install-vulkan-sdk-action@v1
75+
with:
76+
install_runtime: true
77+
cache: true
78+
stripdown: true
79+
install_swiftshader: true
80+
install_lavapipe: true
81+
- name: vulkaninfo
82+
run: vulkaninfo --summary
83+
- name: check krnlc
84+
run: cargo +nightly-2023-05-27 -Zunstable-options -C=krnlc check --locked --no-default-features --features use-installed-tools -vv
6385
krnlc:
6486
runs-on: ${{ matrix.os }}
6587
timeout-minutes: 20
@@ -78,8 +100,8 @@ jobs:
78100
include:
79101
- os: ubuntu-latest
80102
target: x86_64-unknown-linux-gnu
81-
# - os: windows-latest
82-
# target: x86_64-pc-windows-msvc
103+
# - os: windows-latest
104+
# target: x86_64-pc-windows-msvc
83105
- os: macos-latest
84106
target: x86_64-apple-darwin
85107
# spirv tools install copied from https://github.com/EmbarkStudios/rust-gpu/blob/main/.github/workflows/ci.yaml

0 commit comments

Comments
 (0)