Skip to content

add spirv-unknown-wgsl target via naga #280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: cargo test -p rustc_codegen_spirv --release --no-default-features --features "use-installed-tools"

- name: workspace test (excluding examples & difftest)
run: cargo test --release --workspace --exclude "example-runner-*" --exclude "difftest*" --no-default-features --features "use-installed-tools"
run: cargo test --release --workspace --exclude "example-runner-*" --exclude "difftest*" --no-default-features --features use-installed-tools,include_str

# Examples
- name: cargo check examples
Expand Down Expand Up @@ -129,15 +129,27 @@ jobs:
compiletest:
name: Compiletest
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-24.04
target: x86_64-unknown-linux-gnu
target_env: vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
experimental: false
- os: windows-2022
target: x86_64-pc-windows-msvc
target_env: vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
experimental: false
- os: macOS-latest
target: aarch64-apple-darwin
target_env: vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
experimental: false
- os: ubuntu-24.04
target: x86_64-unknown-linux-gnu
target_env: wgsl
experimental: true
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@v4
- name: Install Vulkan SDK
Expand All @@ -151,7 +163,7 @@ jobs:
- name: cargo fetch --locked
run: cargo fetch --locked --target ${{ matrix.target }}
- name: compiletest
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env vulkan1.1,vulkan1.2,spv1.3
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env ${{ matrix.target_env }}

difftest:
name: Difftest
Expand Down
Loading
Loading