From f57a726bbb13783637eb1eb595e3bef17d309dd5 Mon Sep 17 00:00:00 2001 From: Samuel Date: Sat, 11 Jan 2025 16:19:10 -0300 Subject: [PATCH] Fix release (#593) --- .github/workflows/release.yml | 14 +++++++------- examples/shortcut/src/main.rs | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 277089d7d..763634dc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,7 +131,7 @@ jobs: matrix: include: - target: x86_64-unknown-linux-gnu - features: --features avif + features: --features image_avif # - target: aarch64-unknown-linux-gnu runs-on: ubuntu-latest needs: [check-ubuntu] @@ -177,7 +177,7 @@ jobs: if: ${{ github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true' }} with: target: ${{ matrix.target }} - - run: cargo do comment_feature -u "crates/zng-view/Cargo.toml" avif + - run: cargo do comment_feature -u "crates/zng-view/Cargo.toml" image_avif if: ${{ (github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true') && matrix.target == 'x86_64-unknown-linux-gnu' }} - name: cargo do prebuild ${{ matrix.features }} if: ${{ github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true' }} @@ -200,7 +200,7 @@ jobs: matrix: include: - target: x86_64-pc-windows-msvc - features: --features avif + features: --features image_avif - target: aarch64-pc-windows-msvc runs-on: windows-latest needs: [check-windows] @@ -255,7 +255,7 @@ jobs: if: ${{ github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true' }} with: target: ${{ matrix.target }} - - run: cargo do comment_feature -u "crates/zng-view/Cargo.toml" avif + - run: cargo do comment_feature -u "crates/zng-view/Cargo.toml" image_avif if: ${{ (github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true') && matrix.target == 'x86_64-pc-windows-msvc' }} - name: cargo do prebuild --target ${{ matrix.target }} ${{ matrix.features }} if: ${{ github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true' }} @@ -319,13 +319,13 @@ jobs: if: ${{ github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true' }} - uses: dtolnay/rust-toolchain@stable if: ${{ github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true' }} - - run: cargo do comment_feature -u "crates/zng-view/Cargo.toml" avif + - run: cargo do comment_feature -u "crates/zng-view/Cargo.toml" image_avif if: ${{ github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true' }} - - name: cargo do prebuild --features avif + - name: cargo do prebuild --features image_avif if: ${{ github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true' }} env: SYSTEM_DEPS_LINK: static - run: cargo do prebuild --features avif + run: cargo do prebuild --features image_avif - run: cargo clean if: ${{ github.event.inputs.skip_tests != 'true' || github.event.inputs.skip_release != 'true' }} - name: upload prebuilt diff --git a/examples/shortcut/src/main.rs b/examples/shortcut/src/main.rs index 02b20d365..9096662b9 100644 --- a/examples/shortcut/src/main.rs +++ b/examples/shortcut/src/main.rs @@ -6,7 +6,7 @@ use zng::{font::FontName, layout::align, prelude::*}; fn main() { zng::env::init!(); - zng::view_process::default::run_same_process(app_main); + zng::view_process::prebuilt::run_same_process(app_main); } fn app_main() { APP.defaults().run_window(async {