Skip to content

Commit

Permalink
Fix release (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamRodri authored Jan 11, 2025
1 parent dfae6b3 commit f57a726
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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' }}
Expand All @@ -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]
Expand Down Expand Up @@ -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' }}
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/shortcut/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f57a726

Please sign in to comment.