Skip to content

Commit

Permalink
Optimize wasm bindgen asset with manganis (#3531)
Browse files Browse the repository at this point in the history
  • Loading branch information
ealmloff authored Jan 21, 2025
1 parent d8850c7 commit 13dcd80
Show file tree
Hide file tree
Showing 29 changed files with 947 additions and 1,103 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.79.0
- uses: dtolnay/rust-toolchain@1.84.0
- uses: Swatinem/rust-cache@v2
with:
cache-all-crates: "true"
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
swap-storage: false
- run: sudo apt-get update
- run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev
- uses: dtolnay/rust-toolchain@1.79.0
- uses: dtolnay/rust-toolchain@1.84.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
Expand All @@ -100,7 +100,7 @@ jobs:
swap-storage: false
- run: sudo apt-get update
- run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev
- uses: dtolnay/rust-toolchain@1.79.0
- uses: dtolnay/rust-toolchain@1.84.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
Expand All @@ -115,7 +115,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.79.0
- uses: dtolnay/rust-toolchain@1.84.0
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- uses: actions/checkout@v4
- run: sudo apt-get update
- run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev
- uses: dtolnay/rust-toolchain@1.79.0
- uses: dtolnay/rust-toolchain@1.84.0
- uses: Swatinem/rust-cache@v2
with:
cache-all-crates: "true"
Expand All @@ -170,7 +170,7 @@ jobs:
- uses: actions/checkout@v4
- run: sudo apt-get update
- run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev
- uses: dtolnay/rust-toolchain@1.79.0
- uses: dtolnay/rust-toolchain@1.84.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -247,31 +247,31 @@ jobs:
- {
target: aarch64-apple-darwin,
os: macos-latest,
toolchain: "1.79.0",
toolchain: "1.84.0",
cross: false,
command: "test",
args: "--all --tests",
}
- {
target: x86_64-apple-darwin,
os: macos-13,
toolchain: "1.79.0",
toolchain: "1.84.0",
cross: false,
command: "test",
args: "--all --tests",
}
- {
target: aarch64-apple-ios,
os: macos-latest,
toolchain: "1.79.0",
toolchain: "1.84.0",
cross: false,
command: "build",
args: "--package dioxus-mobile",
}
- {
target: aarch64-linux-android,
os: ubuntu-latest,
toolchain: "1.79.0",
toolchain: "1.84.0",
cross: true,
command: "build",
args: "--package dioxus-mobile",
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
run: |
Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.UV_WORKSPACE }}" -Recurse
- uses: dtolnay/rust-toolchain@1.79.0
- uses: dtolnay/rust-toolchain@1.84.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@1.79.0
# - uses: dtolnay/rust-toolchain@1.84.0
# - uses: Swatinem/rust-cache@v2
# with:
# cache-all-crates: "true"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Install stable
uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.79.0"
toolchain: "1.84.0"
targets: ${{ matrix.platform.target }}

- uses: Swatinem/rust-cache@v2
Expand Down
Loading

0 comments on commit 13dcd80

Please sign in to comment.