Skip to content

Commit

Permalink
Merge branch 'daniel-keitel:ray-tracing' into ray-tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
Vecvec authored Feb 5, 2024
2 parents 27d8eff + d94cbeb commit 1c52849
Show file tree
Hide file tree
Showing 142 changed files with 4,003 additions and 3,060 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ xtask = "run --manifest-path xtask/Cargo.toml"
rustflags = [
"--cfg=web_sys_unstable_apis"
]
rustdocflags = [
"--cfg=web_sys_unstable_apis"
]
3 changes: 2 additions & 1 deletion .deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ skip-tree = [
{ name = "rustc_version", version = "0.2.3" },
]
skip = [
{ name = "hlsl-snapshots", version = "0.1.0" },
]
wildcards = "deny"
allow-wildcard-paths = true

[licenses]
allow = [
Expand All @@ -26,7 +28,6 @@ allow = [
[sources]
allow-git = [
# Waiting on releases; used in examples only
"https://github.com/SiegeEngine/ddsfile",
"https://github.com/Razaekel/noise-rs",

"https://github.com/grovesNL/glow",
Expand Down
31 changes: 14 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ env:
RUST_BACKTRACE: full
PKG_CONFIG_ALLOW_CROSS: 1 # allow android to work
RUSTFLAGS: --cfg=web_sys_unstable_apis -D warnings
RUSTDOCFLAGS: -Dwarnings
RUSTDOCFLAGS: --cfg=web_sys_unstable_apis -D warnings
WASM_BINDGEN_TEST_TIMEOUT: 300 # 5 minutes
CACHE_SUFFIX: c # cache busting

Expand All @@ -76,7 +76,9 @@ env:
jobs:
check:
# runtime is normally 2-8 minutes
timeout-minutes: 15
#
# currently high due to documentation time problems on mac.
timeout-minutes: 30

strategy:
fail-fast: false
Expand All @@ -90,18 +92,18 @@ jobs:

# MacOS
- name: MacOS x86_64
os: macos-12
os: macos-14
target: x86_64-apple-darwin
kind: native

- name: MacOS aarch64
os: macos-12
os: macos-14
target: aarch64-apple-darwin
kind: native

# IOS
- name: IOS aarch64
os: macos-12
os: macos-14
target: aarch64-apple-ios
kind: native

Expand Down Expand Up @@ -161,8 +163,7 @@ jobs:
debug = false" >> .cargo/config.toml
- name: caching
# Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
uses: Swatinem/rust-cache@v2
with:
key: clippy-${{ matrix.target }}-${{ matrix.kind }}-${{ env.CACHE_SUFFIX }}

Expand Down Expand Up @@ -248,7 +249,7 @@ jobs:

# MacOS
- name: MacOS x86_64
os: macos-12
os: macos-14
target: x86_64-apple-darwin

# Linux
Expand Down Expand Up @@ -278,8 +279,7 @@ jobs:
debug = false" >> .cargo/config.toml
- name: caching
# Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
uses: Swatinem/rust-cache@v2
with:
key: msrv-check-${{ matrix.target }}-${{ env.CACHE_SUFFIX }}

Expand Down Expand Up @@ -383,7 +383,7 @@ jobs:

# Mac
- name: Mac aarch64
os: macos-13-xlarge
os: macos-14

# Linux
- name: Linux x86_64
Expand All @@ -410,8 +410,7 @@ jobs:
# Cache step must go before warp and mesa install on windows as they write into the
# target directory, and rust-cache will overwrite the entirety of the target directory.
- name: caching
# Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
uses: Swatinem/rust-cache@v2
with:
key: test-${{ matrix.os }}-${{ env.CACHE_SUFFIX }}
workspaces: |
Expand Down Expand Up @@ -582,8 +581,7 @@ jobs:
debug = 1" >> .cargo/config.toml
- name: caching
# Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
uses: Swatinem/rust-cache@v2
with:
key: doctests-${{ env.CACHE_SUFFIX }}

Expand Down Expand Up @@ -640,8 +638,7 @@ jobs:
debug = 1" >> .cargo/config.toml
- name: caching
# Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
uses: Swatinem/rust-cache@v2
with:
key: cts-runner-${{ env.CACHE_SUFFIX }}

Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/shaders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v4

# Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
naga/xtask -> naga/xtask/target
Expand Down Expand Up @@ -63,12 +62,11 @@ jobs:
naga-validate-macos:
name: "Validate: MSL"
runs-on: macos-latest
runs-on: macos-14
steps:
- uses: actions/checkout@v4

# Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
naga/xtask -> naga/xtask/target
Expand All @@ -86,8 +84,7 @@ jobs:
- name: Install tools
run: sudo apt-get install spirv-tools glslang-tools graphviz

# Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
naga/xtask -> naga/xtask/target
Expand Down
Loading

0 comments on commit 1c52849

Please sign in to comment.