Skip to content

Commit

Permalink
First Pass
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Oct 25, 2023
1 parent 4445e55 commit d9a425b
Show file tree
Hide file tree
Showing 18 changed files with 382 additions and 386 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

/cts_runner/ @gfx-rs/deno @gfx-rs/wgpu
/deno_webgpu/ @gfx-rs/deno @gfx-rs/wgpu
/naga/ @gfx-rs/naga
96 changes: 0 additions & 96 deletions .github/workflows/cts.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
name: lazy
on:
push:
branches: [master]
pull_request:
paths:
- '.github/workflows/lazy.yml'
branches: [trunk]

env:
CARGO_INCREMENTAL: false
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Publish

on:
push:
branches: ["*"]
pull_request:
merge_group:
branches:
- trunk

env:
CARGO_INCREMENTAL: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
name: validation-linux
name: naga-validation-linux

on:
push:
branches: ["*"]
tags: [v0.*]
pull_request:
paths:
- '.github/workflows/validation-linux.yml'
- 'tests/out/spv/*.spvasm'
- 'tests/out/glsl/*.glsl'
- 'tests/out/dot/*.dot'
- 'tests/out/wgsl/*.wgsl'
- 'src/front/wgsl/*'
- 'xtask/**'
merge_group:

jobs:
validate-linux:
name: SPIR-V + GLSL
name: Validate Naga SPIR-V + GLSL Output
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -23,7 +20,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
xtask -> target
naga/xtask -> naga/xtask/target
- run: cargo xtask validate spv

Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
name: validation-macos

on:
push:
branches: ["*"]
tags: [v0.*]
pull_request:
paths:
- '.github/workflows/validation-macos.yml'
- 'tests/out/msl/*.msl'
- 'xtask/**'
merge_group:

jobs:
validate-macos:
name: MSL
name: Validate Naga MSL Output
runs-on: macos-latest
steps:
- uses: actions/checkout@v3

- uses: Swatinem/rust-cache@v2
with:
workspaces: |
xtask -> target
naga/xtask -> naga/xtask/target
- run: cargo xtask validate msl
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: validation-windows

on:
push:
branches: ["*"]
tags: [v0.*]
pull_request:
paths:
- '.github/workflows/validation-windows.yml'
- 'tests/out/hlsl/*.hlsl'
- 'tests/out/hlsl/*.ron'
- 'xtask/**'
- 'hlsl-snapshots/**'
merge_group:

jobs:
validate-windows-dxc:
name: HLSL via DXC
name: Validate Naga HLSL Output on DXC
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -21,12 +20,12 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
xtask -> target
naga/xtask -> naga/xtask/target
- run: cargo xtask validate hlsl dxc

validate-windows-fxc:
name: HLSL via FXC
name: Validate Naga HLSL Output on FXC
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -43,6 +42,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
xtask -> target
naga/xtask -> target
- run: cargo xtask validate hlsl fxc
Loading

0 comments on commit d9a425b

Please sign in to comment.