final 0.7 fixes: xcode 15/16 hybrid, auto openssldir for android, include_*! tracking hotpatch, fix /assets/ brick at high opt levels, windows linker file, etc (#4376)

* wip: openssl autodetection

* add voltaile read inside of asset fn

* support xcode 15 for --device

* vendor openssl on android

* Smaller width TUI

* switch to anyhow for the entire CLI

* add backtrace and print double printing of cargo_metadata errors

* add some padding to multi-line anyhow error

* check semvers

* don't open if not interactive

* set the tailwind current_dir so it doesn't twitch

* get the oboe demo working

* copy the c++ library on android

* cleanup env vars

* add depinfo watcher

* fix stale hotpatches and crate count

* add musl support

* remove outdated autofmt test

* update scanner app

* add hotdog app and bundle to ci

* upload dx on every branch

* collapse mobile into desktop

* `dx doctor` command

* windows command files

* no pipe on doctor

* fix ci?

* fix links

* fix ci

* use main instead of nightly

* bump node

* build cli for host

* cargo doc

* prep dog_app for bundle

* package hotdog

* no bundle or nightly cli

* comment out nightly cli

* add quotes to linker files
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-07-14 12:54:15 -07:00
1 parent 97947b169b
commit 727752a965
78 files changed
+2270 -817

No files matched your search

+107 -5
View File
@@ -82,7 +82,7 @@ jobs:
with:
cache-all-crates: "true"
- uses: browser-actions/setup-firefox@latest
- run: cargo test --lib --bins --tests --examples --workspace --exclude dioxus-desktop --exclude dioxus-mobile
- run: cargo test --lib --bins --tests --examples --workspace --exclude dioxus-desktop
release-test:
if: github.event.pull_request.draft == false
@@ -103,7 +103,7 @@ jobs:
with:
cache-all-crates: "true"
- uses: browser-actions/setup-firefox@latest
- run: cargo test --lib --bins --tests --examples --workspace --exclude dioxus-desktop --exclude dioxus-mobile --profile release-unoptimized
- run: cargo test --lib --bins --tests --examples --workspace --exclude dioxus-desktop --profile release-unoptimized
fmt:
if: github.event.pull_request.draft == false
@@ -210,7 +210,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 24
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
@@ -256,6 +256,7 @@ jobs:
cross: false,
command: "test",
args: "--all --tests",
platform: "desktop",
}
- {
target: x86_64-apple-darwin,
@@ -264,6 +265,7 @@ jobs:
cross: false,
command: "test",
args: "--all --tests",
platform: "desktop",
}
- {
target: aarch64-apple-ios,
@@ -271,7 +273,8 @@ jobs:
toolchain: "1.86.0",
cross: false,
command: "build",
args: "--package dioxus-mobile",
args: "--package dioxus-desktop",
platform: "ios",
}
- {
target: x86_64-unknown-linux-gnu,
@@ -280,6 +283,7 @@ jobs:
cross: false,
command: "build",
args: "--all --tests",
platform: "desktop",
}
- {
target: aarch64-unknown-linux-gnu,
@@ -288,6 +292,7 @@ jobs:
cross: false,
command: "build",
args: "--all --tests",
platform: "desktop",
}
- {
target: aarch64-linux-android,
@@ -295,7 +300,8 @@ jobs:
toolchain: "1.86.0",
cross: true,
command: "build",
args: "--package dioxus-mobile",
args: "--package dioxus-desktop",
platform: "android",
}
steps:
@@ -386,3 +392,99 @@ jobs:
# with:
# manifest-path: ./Cargo.toml
# exclude: "dioxus-cli, dioxus-ext"
# Releases for the CLI on a per-branch basis
# nightly-cli:
# if: github.event.pull_request.draft == false
# runs-on: ${{ matrix.platform.os }}
# strategy:
# matrix:
# platform:
# - {
# target: x86_64-pc-windows-msvc,
# os: windows-latest
# }
# - {
# target: aarch64-pc-windows-msvc,
# os: windows-latest
# }
# - {
# target: x86_64-apple-darwin,
# os: macos-13
# }
# - {
# target: aarch64-apple-darwin,
# os: macos-latest
# }
# - {
# target: x86_64-unknown-linux-gnu,
# os: ubuntu-24.04
# }
# - {
# target: aarch64-unknown-linux-gnu,
# os: ubuntu-24.04-arm
# }
# - {
# target: x86_64-unknown-linux-musl,
# os: ubuntu-24.04
# }
# - {
# target: aarch64-unknown-linux-musl,
# os: ubuntu-24.04-arm
# }
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Install openssl on macos
# if: matrix.platform.os == 'macos-latest'
# run: brew install openssl
# - name: Install nasm for windows (tls)
# if: ${{ matrix.platform.target == 'x86_64-pc-windows-msvc' }}
# uses: ilammy/setup-nasm@v1
# - name: Free Disk Space
# if: ${{ matrix.platform.os == 'ubuntu-24.04' || matrix.platform.os == 'ubuntu-24.04-arm' }}
# uses: ./.github/actions/free-disk-space
# - uses: awalsh128/cache-apt-pkgs-action@latest
# if: ${{ matrix.platform.os == 'ubuntu-24.04' || matrix.platform.os == 'ubuntu-24.04-arm' }}
# with:
# packages: libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev libglib2.0-dev musl-tools
# version: 1.0
# - name: Install stable
# uses: dtolnay/rust-toolchain@master
# with:
# toolchain: "1.86.0"
# targets: ${{ matrix.platform.target }}
# - uses: Swatinem/rust-cache@v2
# with:
# cache-all-crates: "true"
# save-if: ${{ github.ref == 'refs/heads/main' }}
# - name: Free Disk Space
# uses: jlumbroso/free-disk-space@v1.3.1
# with: # speed things up a bit
# large-packages: false
# docker-images: false
# swap-storage: false
# # Todo: we want `cargo install dx` to actually just use a prebuilt binary instead of building it
# - name: Build CLI
# run: |
# cargo build --release --package dioxus-cli --target ${{ matrix.platform.target }}
# - name: Upload CLI binaries
# uses: actions/upload-artifact@v4
# if: always()
# with:
# name: dx-${{ matrix.platform.target }}-${{ github.event.number || github.ref_name }}
# path: ./target/${{ matrix.platform.target }}/release/dx
# retention-days: ${{ github.ref == 'refs/heads/main' && 90 || 30 }}
# overwrite: true
# - name: Output artifact ID
# run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-id }}'
+5 -1
View File
@@ -61,6 +61,10 @@ jobs:
os: ubuntu-24.04
- target: aarch64-unknown-linux-gnu
os: ubuntu-24.04-arm
- target: x86_64-unknown-linux-musl
os: ubuntu-24.04
- target: aarch64-unknown-linux-musl
os: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -80,7 +84,7 @@ jobs:
- uses: awalsh128/cache-apt-pkgs-action@latest
if: ${{ matrix.platform.os == 'ubuntu-24.04' || matrix.platform.os == 'ubuntu-24.04-arm' }}
with:
packages: libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev libglib2.0-dev
packages: libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev libglib2.0-dev musl-tools
version: 1.0
- name: Install stable