Skip to content

Bumps winit to 0.29.10. #140

Bumps winit to 0.29.10.

Bumps winit to 0.29.10. #140

Workflow file for this run

name: actions
on: [push, pull_request]
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install WASM Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- name: Install WASM Binding Generator
uses: actions-rs/[email protected]
with:
crate: wasm-bindgen-cli
version: 0.2.95
# use-tool-cache: true
- name: Compile Native
uses: actions-rs/cargo@v1
with:
command: build
args: --release --examples
- name: Compile WASM
uses: actions-rs/cargo@v1
with:
command: build
args: --release --examples --target wasm32-unknown-unknown
- name: Generate WASM Binding
run: wasm-bindgen --no-typescript --out-dir target/wasm --web target/wasm32-unknown-unknown/release/examples/showcase.wasm
- uses: actions/upload-artifact@v4
with:
path: |
target/wasm/
target/release/examples/