Remove web check

This commit is contained in:
2025-07-05 16:26:20 -04:00
parent 1153342f5e
commit 3b764baf0b

View File

@@ -109,32 +109,32 @@ jobs:
run: cargo test --locked --workspace --all-targets --profile ci --no-fail-fast
# Check that the web build compiles.
check-web:
name: Check web
runs-on: ubuntu-latest
env:
RUSTFLAGS: -Zshare-generics=y -Zthreads=0 --cfg getrandom_backend="wasm_js"
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
# check-web:
# name: Check web
# runs-on: ubuntu-latest
# env:
# RUSTFLAGS: -Zshare-generics=y -Zthreads=0 --cfg getrandom_backend="wasm_js"
# timeout-minutes: 20
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.toolchain }}
targets: wasm32-unknown-unknown
# - name: Install Rust toolchain
# uses: dtolnay/rust-toolchain@master
# with:
# toolchain: ${{ env.toolchain }}
# targets: wasm32-unknown-unknown
- name: Restore Rust cache
id: cache
uses: Swatinem/rust-cache@v2
with:
shared-key: web-ci
save-if: ${{ github.ref == 'refs/heads/main' }}
# - name: Restore Rust cache
# id: cache
# uses: Swatinem/rust-cache@v2
# with:
# shared-key: web-ci
# save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Install build dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
# - name: Install build dependencies
# if: steps.cache.outputs.cache-hit != 'true'
# run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
- name: Check web
run: cargo check --config 'profile.web.inherits="dev"' --profile ci --no-default-features --features "dev web" --target wasm32-unknown-unknown
# - name: Check web
# run: cargo check --config 'profile.web.inherits="dev"' --profile ci --no-default-features --features "dev web" --target wasm32-unknown-unknown