mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
refactor(ci): regulate titles in CI step names (#7172)
This commit is contained in:
parent
4d24df2b3b
commit
d5241dd675
122
.github/workflows/ci.yml
vendored
122
.github/workflows/ci.yml
vendored
@ -185,10 +185,10 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Toolchain (Repo MSRV - Tier 1 or 2)
|
||||
- name: Install toolchain (repo MSRV - tier 1 or 2)
|
||||
if: matrix.tier == 1 || matrix.tier == 2
|
||||
run: |
|
||||
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component clippy
|
||||
@ -207,13 +207,13 @@ jobs:
|
||||
#
|
||||
# RUSTC_BOOTSTRAP=1 is how the rust project builds itself when bootstrapping the compiler, so while not "stable"
|
||||
# it has been around for many years and don't anticipate it going away any time soon.
|
||||
- name: Install Toolchain (Repo MSRV - Tier 3)
|
||||
- name: Install toolchain (repo MSRV - tier 3)
|
||||
if: matrix.tier == 3
|
||||
run: |
|
||||
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component clippy,rust-src
|
||||
echo "RUSTC_BOOTSTRAP=1" >> "$GITHUB_ENV"
|
||||
|
||||
- name: disable debug symbols
|
||||
- name: Disable debug symbols
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
@ -223,12 +223,12 @@ jobs:
|
||||
debug = false
|
||||
EOF
|
||||
|
||||
- name: caching
|
||||
- name: Caching
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: clippy-${{ matrix.target }}-${{ matrix.kind }}-${{ env.CACHE_SUFFIX }}
|
||||
|
||||
- name: (linux aarch64) install aarch64-linux-gnu g++
|
||||
- name: (Linux `aarch64`) Install `aarch64-linux-gnu` `g++`
|
||||
if: matrix.target == 'aarch64-unknown-linux-gnu'
|
||||
run: |
|
||||
set -e
|
||||
@ -237,7 +237,7 @@ jobs:
|
||||
|
||||
sudo apt-get install g++-aarch64-linux-gnu
|
||||
|
||||
- name: (android) add android apk to path
|
||||
- name: (Android) Add Android APK to `PATH`
|
||||
if: matrix.target == 'aarch64-linux-android'
|
||||
run: |
|
||||
# clang++ will be detected correctly by CC from path
|
||||
@ -247,7 +247,7 @@ jobs:
|
||||
echo "AR_aarch64_linux_android=llvm-ar" >> "$GITHUB_ENV"
|
||||
|
||||
# Building for wasm32 requires a series of specific tests for the WebGPU backend.
|
||||
- name: check web
|
||||
- name: Check web
|
||||
if: matrix.kind == 'web'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -266,7 +266,7 @@ jobs:
|
||||
cargo doc --target ${{ matrix.target }} ${{ matrix.extra-flags }} --no-deps --all-features
|
||||
|
||||
# Building for platforms where the tests do not compile.
|
||||
- name: check wgpu only
|
||||
- name: Check `wgpu` only
|
||||
if: matrix.kind == 'wgpu-only'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -282,7 +282,7 @@ jobs:
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p wgpu --all-features
|
||||
|
||||
# Building for no_std platforms where every feature is enabled except "std".
|
||||
- name: check no_std
|
||||
- name: Check `no_std`
|
||||
if: matrix.kind == 'no_std'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -295,7 +295,7 @@ jobs:
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p wgpu-types --no-default-features --features strict_asserts,fragile-send-sync-non-atomic-wasm,serde,counters
|
||||
|
||||
# Building for native platforms with standard tests.
|
||||
- name: check native
|
||||
- name: Check native
|
||||
if: matrix.kind == 'native'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -310,7 +310,7 @@ jobs:
|
||||
# build docs
|
||||
cargo doc --target ${{ matrix.target }} ${{ matrix.extra-flags }} --all-features --no-deps
|
||||
|
||||
- name: check private item docs
|
||||
- name: Check private item docs
|
||||
if: matrix.kind == 'native'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -354,16 +354,16 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Core MSRV toolchain
|
||||
- name: Install core MSRV toolchain
|
||||
run: |
|
||||
rustup toolchain install ${{ env.CORE_MSRV }} --no-self-update --profile=minimal --component clippy --target ${{ matrix.target }}
|
||||
rustup override set ${{ env.CORE_MSRV }}
|
||||
cargo -V
|
||||
|
||||
- name: disable debug symbols
|
||||
- name: Disable debug symbols
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
@ -373,17 +373,17 @@ jobs:
|
||||
debug = false
|
||||
EOF
|
||||
|
||||
- name: caching
|
||||
- name: Caching
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: msrv-check-${{ matrix.target }}-${{ env.CACHE_SUFFIX }}
|
||||
|
||||
- name: check native
|
||||
- name: Check native
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
|
||||
# check wgpu-core with all features. This will also get wgpu-hal and wgpu-types.
|
||||
# check `wgpu-core` with all features. This will also get `wgpu-hal` and `wgpu-types`.
|
||||
cargo check --target ${{ matrix.target }} --all-features -p wgpu-core
|
||||
|
||||
naga-minimal-versions:
|
||||
@ -394,26 +394,26 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Core MSRV toolchain
|
||||
- name: Install core MSRV toolchain
|
||||
run: |
|
||||
rustup toolchain install ${{ env.CORE_MSRV }} --no-self-update --profile=minimal --component clippy
|
||||
rustup override set ${{ env.CORE_MSRV }}
|
||||
cargo -V
|
||||
|
||||
- name: Install Nightly Toolchain
|
||||
- name: Install Nightly toolchain
|
||||
run: |
|
||||
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal
|
||||
cargo +${{ env.REPO_MSRV }} -V
|
||||
|
||||
- name: Install cargo-hack
|
||||
- name: Install `cargo-hack`
|
||||
uses: taiki-e/install-action@v2
|
||||
with:
|
||||
tool: cargo-hack
|
||||
|
||||
- name: disable debug symbols
|
||||
- name: Disable debug symbols
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
@ -421,7 +421,7 @@ jobs:
|
||||
[profile.dev]
|
||||
debug = false" >> .cargo/config.toml
|
||||
|
||||
- name: Set Minimal Versions
|
||||
- name: Set minimal versions
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
@ -430,7 +430,7 @@ jobs:
|
||||
env:
|
||||
RUSTC_BOOTSTRAP: 1
|
||||
|
||||
- name: Clippy
|
||||
- name: Run Clippy
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
@ -445,21 +445,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Repo MSRV toolchain
|
||||
- name: Install repo MSRV toolchain
|
||||
run: |
|
||||
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component clippy --target wasm32-unknown-unknown
|
||||
rustup override set ${{ env.REPO_MSRV }}
|
||||
cargo -V
|
||||
|
||||
- name: Install wasm-pack
|
||||
- name: Install `wasm-pack`
|
||||
uses: taiki-e/install-action@v2
|
||||
with:
|
||||
tool: wasm-pack
|
||||
|
||||
- name: execute tests
|
||||
- name: Execute tests
|
||||
run: |
|
||||
cd wgpu
|
||||
wasm-pack test --headless --chrome --no-default-features --features wgsl,webgl --workspace
|
||||
@ -488,20 +488,20 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Repo MSRV toolchain
|
||||
- name: Install repo MSRV toolchain
|
||||
run: |
|
||||
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal -c llvm-tools
|
||||
cargo -V
|
||||
|
||||
- name: Install cargo-nextest and cargo-llvm-cov
|
||||
- name: Install `cargo-nextest` and `cargo-llvm-cov`
|
||||
uses: taiki-e/install-action@v2
|
||||
with:
|
||||
tool: cargo-nextest,cargo-llvm-cov
|
||||
|
||||
- name: debug symbols to line-tables-only
|
||||
- name: Debug symbols to line-tables-only
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
@ -513,7 +513,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
|
||||
- name: Caching
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: test-${{ matrix.os }}-${{ env.CACHE_SUFFIX }}
|
||||
@ -521,7 +521,7 @@ jobs:
|
||||
. -> target
|
||||
xtask -> xtask/target
|
||||
|
||||
- name: (windows) install dxc
|
||||
- name: (Windows) Install DXC
|
||||
if: matrix.os == 'windows-2022'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -533,7 +533,7 @@ jobs:
|
||||
# We need to use cygpath to convert PWD to a windows path as we're using bash.
|
||||
cygpath --windows "$PWD/dxc" >> "$GITHUB_PATH"
|
||||
|
||||
- name: (windows) install warp
|
||||
- name: (Windows) Install WARP
|
||||
if: matrix.os == 'windows-2022'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -550,7 +550,7 @@ jobs:
|
||||
cp -v warp/d3d10warp.dll target/llvm-cov-target/debug/
|
||||
cp -v warp/d3d10warp.dll target/llvm-cov-target/debug/deps
|
||||
|
||||
- name: (windows) install mesa
|
||||
- name: (Windows) Install Mesa
|
||||
if: matrix.os == 'windows-2022'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -566,7 +566,7 @@ jobs:
|
||||
echo "VK_DRIVER_FILES=`cygpath --windows $PWD/mesa/lvp_icd.x86_64.json`" >> "$GITHUB_ENV"
|
||||
echo "GALLIUM_DRIVER=llvmpipe" >> "$GITHUB_ENV"
|
||||
|
||||
- name: (windows) install vulkan sdk
|
||||
- name: (Windows) Install Vulkan SDK
|
||||
if: matrix.os == 'windows-2022'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -578,7 +578,7 @@ jobs:
|
||||
|
||||
echo "C:/VulkanSDK/${{ env.VULKAN_FULL_SDK_VERSION }}/Bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: (mac) install vulkan sdk
|
||||
- name: (Mac) Install Vulkan SDK
|
||||
if: matrix.os == 'macos-14'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -592,7 +592,7 @@ jobs:
|
||||
|
||||
echo "$HOME/VulkanSDK/macOS/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: (linux) install vulkan sdk
|
||||
- name: (Linux) Install Vulkan SDK
|
||||
if: matrix.os == 'ubuntu-24.04'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -607,7 +607,7 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt install -y vulkan-sdk
|
||||
|
||||
- name: (linux) install mesa
|
||||
- name: (Linux) Install Mesa
|
||||
if: matrix.os == 'ubuntu-24.04'
|
||||
shell: bash
|
||||
run: |
|
||||
@ -634,7 +634,7 @@ jobs:
|
||||
echo "LD_LIBRARY_PATH=$PWD/mesa/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
|
||||
echo "LIBGL_DRIVERS_PATH=$PWD/mesa/lib/x86_64-linux-gnu/dri" >> "$GITHUB_ENV"
|
||||
|
||||
- name: run wgpu-info
|
||||
- name: Run `wgpu-info`
|
||||
shell: bash
|
||||
run: |
|
||||
echo "$PATH"
|
||||
@ -644,14 +644,14 @@ jobs:
|
||||
# This needs to match the command in xtask/tests.rs
|
||||
cargo llvm-cov --no-cfg-coverage --no-report run --bin wgpu-info -- -vv
|
||||
|
||||
- name: run tests
|
||||
- name: Run tests
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
|
||||
cargo xtask test --llvm-cov
|
||||
|
||||
- name: check naga snapshots
|
||||
- name: Check Naga snapshots
|
||||
# git diff doesn't check untracked files, we need to stage those then compare with HEAD.
|
||||
run: git add . && git diff --exit-code HEAD naga/tests/out
|
||||
|
||||
@ -663,7 +663,7 @@ jobs:
|
||||
**/*-actual.png
|
||||
**/*-difference.png
|
||||
|
||||
- name: generate coverage report
|
||||
- name: Generate coverage report
|
||||
id: coverage
|
||||
shell: bash
|
||||
continue-on-error: true
|
||||
@ -672,7 +672,7 @@ jobs:
|
||||
|
||||
cargo llvm-cov report --lcov --output-path lcov.info
|
||||
|
||||
- name: upload coverage report to codecov
|
||||
- name: Upload coverage report to Codecov
|
||||
uses: codecov/codecov-action@v4
|
||||
if: steps.coverage.outcome == 'success'
|
||||
with:
|
||||
@ -687,21 +687,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Repo MSRV toolchain
|
||||
- name: Install repo MSRV toolchain
|
||||
run: |
|
||||
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component rustfmt
|
||||
rustup override set ${{ env.REPO_MSRV }}
|
||||
cargo -V
|
||||
|
||||
- name: caching
|
||||
- name: Caching
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: doctests-${{ env.CACHE_SUFFIX }}
|
||||
|
||||
- name: run doctests
|
||||
- name: Run doctests
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
@ -715,10 +715,10 @@ jobs:
|
||||
name: Format & Typos
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Repo MSRV toolchain
|
||||
- name: Install repo MSRV toolchain
|
||||
run: |
|
||||
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component rustfmt
|
||||
rustup override set ${{ env.REPO_MSRV }}
|
||||
@ -735,7 +735,7 @@ jobs:
|
||||
with:
|
||||
version: "0.9.3"
|
||||
|
||||
- name: run `taplo fmt`
|
||||
- name: Run `taplo fmt`
|
||||
run: taplo format --check --diff
|
||||
|
||||
- name: Check for typos
|
||||
@ -748,7 +748,7 @@ jobs:
|
||||
name: Clippy cts_runner
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install MSRV toolchain
|
||||
@ -757,7 +757,7 @@ jobs:
|
||||
rustup override set ${{ env.REPO_MSRV }}
|
||||
cargo -V
|
||||
|
||||
- name: disable debug symbols
|
||||
- name: Disable debug symbols
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
@ -767,12 +767,12 @@ jobs:
|
||||
debug = false
|
||||
EOF
|
||||
|
||||
- name: caching
|
||||
- name: Caching
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: cts-runner-${{ env.CACHE_SUFFIX }}
|
||||
|
||||
- name: build Deno
|
||||
- name: Build Deno
|
||||
run: |
|
||||
cargo clippy --manifest-path cts_runner/Cargo.toml
|
||||
|
||||
@ -786,7 +786,7 @@ jobs:
|
||||
name: "cargo-deny advisories"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run `cargo deny check`
|
||||
@ -803,7 +803,7 @@ jobs:
|
||||
name: "cargo-deny"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run `cargo deny check`
|
||||
@ -820,10 +820,10 @@ jobs:
|
||||
name: "Feature Dependencies"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout repo
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Repo MSRV toolchain
|
||||
- name: Install repo MSRV toolchain
|
||||
run: |
|
||||
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal
|
||||
rustup override set ${{ env.REPO_MSRV }}
|
||||
|
||||
6
.github/workflows/docs.yml
vendored
6
.github/workflows/docs.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout the code
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
@ -31,7 +31,7 @@ jobs:
|
||||
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal
|
||||
rustup override set ${{ env.REPO_MSRV }}
|
||||
|
||||
- name: disable debug symbols
|
||||
- name: Disable debug symbols
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
@ -41,7 +41,7 @@ jobs:
|
||||
debug = false
|
||||
EOF
|
||||
|
||||
- name: caching
|
||||
- name: Caching
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: doc-build
|
||||
|
||||
12
.github/workflows/generate.yml
vendored
12
.github/workflows/generate.yml
vendored
@ -36,13 +36,13 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Repo MSRV toolchain
|
||||
- name: Install repo MSRV toolchain
|
||||
run: |
|
||||
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal
|
||||
rustup override set ${{ env.REPO_MSRV }}
|
||||
cargo -V
|
||||
|
||||
- name: disable debug symbols
|
||||
- name: Disable debug symbols
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
@ -52,22 +52,22 @@ jobs:
|
||||
debug = false
|
||||
EOF
|
||||
|
||||
- name: caching
|
||||
- name: Caching
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: cargo-generate-${{ matrix.name }}
|
||||
|
||||
- name: "Install cargo-generate"
|
||||
- name: Install `cargo-generate`
|
||||
uses: taiki-e/install-action@v2
|
||||
with:
|
||||
tool: cargo-generate
|
||||
|
||||
- name: "Run cargo-generate"
|
||||
- name: Run `cargo-generate`
|
||||
run: |
|
||||
cd ..
|
||||
cargo generate --path wgpu --name ${{ matrix.name }} ${{ matrix.path }}
|
||||
|
||||
- name: "Check generated files"
|
||||
- name: Check generated files
|
||||
run: |
|
||||
cd ../${{ matrix.name }}/
|
||||
cat <<EOF >> Cargo.toml
|
||||
|
||||
10
.github/workflows/lazy.yml
vendored
10
.github/workflows/lazy.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
||||
cd naga
|
||||
cargo build --release -p naga-cli
|
||||
|
||||
- name: Convert metal shaders
|
||||
- name: Convert Metal shaders
|
||||
run: |
|
||||
# No needed to stop workflow if we can't validate one file
|
||||
set +e
|
||||
@ -89,14 +89,14 @@ jobs:
|
||||
run: |
|
||||
cargo build --release -p naga-cli
|
||||
|
||||
- name: Install spirv-tools
|
||||
- name: Install `spirv-tools`
|
||||
run: |
|
||||
cd naga
|
||||
wget -q https://storage.googleapis.com/spirv-tools/artifacts/prod/graphics_shader_compiler/spirv-tools/linux-clang-release/continuous/1489/20210629-121459/install.tgz
|
||||
tar zxf install.tgz
|
||||
./install/bin/spirv-as --version
|
||||
|
||||
- name: Compile spv from spvasm
|
||||
- name: Compile `spv` from `spvasm`
|
||||
run: |
|
||||
cd naga/spirv-samples
|
||||
mkdir -p spv
|
||||
@ -107,7 +107,7 @@ jobs:
|
||||
../install/bin/spirv-as --target-env spv1.3 $(realpath ${fname}) -o ./spv/$(basename ${fname}).spv
|
||||
done;
|
||||
|
||||
- name: Validate spv and generate wgsl
|
||||
- name: Validate `spv` and generate `wgsl`
|
||||
run: |
|
||||
set +e
|
||||
cd naga/spirv-samples
|
||||
@ -132,7 +132,7 @@ jobs:
|
||||
done
|
||||
cat counter
|
||||
|
||||
- name: Validate output wgsl
|
||||
- name: Validate output `wgsl`
|
||||
run: |
|
||||
set +e
|
||||
cd naga/spirv-samples
|
||||
|
||||
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the code
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
@ -25,7 +25,7 @@ jobs:
|
||||
- name: Install Rust WASM target
|
||||
run: rustup target add wasm32-unknown-unknown
|
||||
|
||||
- name: Get wasm-bindgen version
|
||||
- name: Get `wasm-bindgen` version
|
||||
run: |
|
||||
WASM_BINDGEN_VERSION=$(cargo metadata --format-version 1 --all-features | jq '.packages[] | select(.name == "wasm-bindgen") | .version' | tr -d '"')
|
||||
|
||||
@ -33,10 +33,10 @@ jobs:
|
||||
|
||||
echo "WASM_BINDGEN_VERSION=$WASM_BINDGEN_VERSION" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Install wasm-bindgen
|
||||
- name: Install `wasm-bindgen`
|
||||
run: cargo +stable install wasm-bindgen-cli --version=$WASM_BINDGEN_VERSION
|
||||
|
||||
- name: debug symbols to line-tables-only
|
||||
- name: Debug symbols to line-tables-only
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
debug = "line-tables-only"
|
||||
EOF
|
||||
|
||||
- name: caching
|
||||
- name: Caching
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: publish-build
|
||||
|
||||
10
.github/workflows/shaders.yml
vendored
10
.github/workflows/shaders.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: debug symbols to line-tables-only
|
||||
- name: Debug symbols to `line-tables-only`
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
@ -86,7 +86,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: debug symbols to line-tables-only
|
||||
- name: Debug symbols to line-tables-only
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
@ -111,7 +111,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: install vulkan sdk
|
||||
- name: Install Vulkan SDK
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
@ -125,10 +125,10 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt install -y vulkan-sdk
|
||||
|
||||
- name: Install graphviz
|
||||
- name: Install Graphviz
|
||||
run: sudo apt-get install graphviz
|
||||
|
||||
- name: debug symbols to line-tables-only
|
||||
- name: Debug symbols to `line-tables-only`
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user