Skip to content

Commit

Permalink
fixed a bug in projections and got rid of wasm
Browse files Browse the repository at this point in the history
	deleted:    .github/workflows/pages.yml
	modified:   .github/workflows/rust.yml
	modified:   Cargo.lock
	modified:   Cargo.toml
	modified:   README.md
	deleted:    Trunk.toml
	modified:   rust-toolchain
	modified:   src/egui_plot_stuff/egui_plot_settings.rs
	modified:   src/histoer/histo2d/projections.rs
	modified:   src/lib.rs
	modified:   src/main.rs
	deleted:    src/ui/app_web.rs
	modified:   src/ui/mod.rs
	modified:   src/util/processer.rs
  • Loading branch information
alconley committed Dec 4, 2024
1 parent d7b2478 commit 85f6a1a
Show file tree
Hide file tree
Showing 14 changed files with 1,540 additions and 692 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/pages.yml

This file was deleted.

40 changes: 1 addition & 39 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, workflow_dispatch]

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 @@ -33,22 +27,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: stable
target: wasm32-unknown-unknown
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-features --lib --target wasm32-unknown-unknown

test:
name: Test Suite
runs-on: ubuntu-latest
Expand Down Expand Up @@ -102,20 +80,4 @@ jobs:
- uses: actions-rs/cargo@v1
with:
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: 1.81.0
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
args: -- -D warnings
Loading

0 comments on commit 85f6a1a

Please sign in to comment.