Skip to content

Commit

Permalink
remove CI and rustc flags for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
mokurin000 committed Feb 26, 2023
1 parent 3d8495a commit 77bbfe8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 42 deletions.
5 changes: 0 additions & 5 deletions .cargo/config.toml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ on: [push, pull_request]

name: CI

env:
# This is required to enable the web_sys clipboard API which egui_web uses
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html
RUSTFLAGS: --cfg=web_sys_unstable_apis

jobs:
check:
name: Check
Expand All @@ -25,22 +19,6 @@ jobs:
command: check
args: --all-features

check_wasm:
name: Check wasm32
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
target: wasm32-unknown-unknown
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-features --lib --target wasm32-unknown-unknown

fmt:
name: Rustfmt
runs-on: ubuntu-latest
Expand Down Expand Up @@ -74,18 +52,3 @@ jobs:
command: clippy
args: -- -D warnings

trunk:
name: trunk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
target: wasm32-unknown-unknown
override: true
- name: Download and install Trunk binary
run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
- name: Build
run: ./trunk build

0 comments on commit 77bbfe8

Please sign in to comment.