Skip to content

🎨 Frontend is now automatically built #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,9 @@ jobs:
run: |
cargo install cross --git https://github.com/cross-rs/cross

- name: Build frontend
run: |
npm i
npm run build

- name: Build binary
run: |
npm i
cd src-tauri
CROSS_NO_WARNINGS=0 REMOVE_UNUSED_COMMANDS=$(pwd) RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none -Clto" cross +nightly build -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --release --target ${{ matrix.target }}
mv target/${{ matrix.target }}/release/tess target/${{ matrix.target }}/release/tess-${{ matrix.target }}
Expand Down Expand Up @@ -72,13 +68,9 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
rustup component add rust-src

- name: Build frontend
run: |
npm i
npm run build

- name: Build binary
run: |
npm i
cd src-tauri
$env:REMOVE_UNUSED_COMMANDS = $PWD.Path
$env:RUSTFLAGS = "-Zlocation-detail=none -Zfmt-debug=none -Clto"
Expand Down
Loading