mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 11:39:48 +00:00
Removed empty lines
This commit is contained in:
parent
d85d7638e3
commit
fb79e77ccd
22
.github/workflows/build-and-release.yml
vendored
22
.github/workflows/build-and-release.yml
vendored
@ -201,10 +201,10 @@ jobs:
|
|||||||
commands: |
|
commands: |
|
||||||
# Rust complains (rightly) that $HOME doesn't match eid home:
|
# Rust complains (rightly) that $HOME doesn't match eid home:
|
||||||
export HOME=/root
|
export HOME=/root
|
||||||
|
#
|
||||||
# Workaround to CI worker being stuck on Updating crates.io index:
|
# Workaround to CI worker being stuck on Updating crates.io index:
|
||||||
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
||||||
|
#
|
||||||
# Update and upgrade the system:
|
# Update and upgrade the system:
|
||||||
apt-get update --yes --allow-releaseinfo-change
|
apt-get update --yes --allow-releaseinfo-change
|
||||||
apt-get upgrade --yes
|
apt-get upgrade --yes
|
||||||
@ -212,16 +212,16 @@ jobs:
|
|||||||
apt-get install curl wget apt-transport-https --yes
|
apt-get install curl wget apt-transport-https --yes
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
export TZ=Europe/Berlin
|
export TZ=Europe/Berlin
|
||||||
|
#
|
||||||
#
|
#
|
||||||
# Install .NET SDK:
|
# Install .NET SDK:
|
||||||
#
|
#
|
||||||
# Note: We cannot use the official Microsoft package because it's not available for ARM64.
|
# Note: We cannot use the official Microsoft package because it's not available for ARM64.
|
||||||
#
|
#
|
||||||
|
#
|
||||||
# Install the dependencies:
|
# Install the dependencies:
|
||||||
apt-get install --yes --no-install-recommends ca-certificates libc6 libgcc-s1 libgssapi-krb5-2 libicu69 libssl1.1 libstdc++6 zlib1g
|
apt-get install --yes --no-install-recommends ca-certificates libc6 libgcc-s1 libgssapi-krb5-2 libicu69 libssl1.1 libstdc++6 zlib1g
|
||||||
|
#
|
||||||
# Download and install the .NET SDK:
|
# Download and install the .NET SDK:
|
||||||
# wget --no-verbose https://download.visualstudio.microsoft.com/download/pr/cd9decc0-f3ef-46d6-b7d1-348b757781ad/9ad92a8f4b805feb3d017731e78eca15/dotnet-sdk-8.0.301-linux-arm64.tar.gz -O dotnet-sdk.tar.gz
|
# wget --no-verbose https://download.visualstudio.microsoft.com/download/pr/cd9decc0-f3ef-46d6-b7d1-348b757781ad/9ad92a8f4b805feb3d017731e78eca15/dotnet-sdk-8.0.301-linux-arm64.tar.gz -O dotnet-sdk.tar.gz
|
||||||
# mkdir -p /usr/share/dotnet
|
# mkdir -p /usr/share/dotnet
|
||||||
@ -232,28 +232,28 @@ jobs:
|
|||||||
export DOTNET_ROOT=$HOME/.dotnet
|
export DOTNET_ROOT=$HOME/.dotnet
|
||||||
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
|
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
|
||||||
export DOTNET_CLI_TELEMETRY_OPTOUT=true
|
export DOTNET_CLI_TELEMETRY_OPTOUT=true
|
||||||
|
#
|
||||||
# Compile the app:
|
# Compile the app:
|
||||||
cd "app/MindWork AI Studio"
|
cd "app/MindWork AI Studio"
|
||||||
dotnet publish --configuration release --runtime linux-arm --disable-build-servers --force --output ../../publish/dotnet
|
dotnet publish --configuration release --runtime linux-arm --disable-build-servers --force --output ../../publish/dotnet
|
||||||
|
#
|
||||||
# Move & rename the .NET artifact:
|
# Move & rename the .NET artifact:
|
||||||
cd ../..
|
cd ../..
|
||||||
mkdir -p "app/MindWork AI Studio/bin/dist"
|
mkdir -p "app/MindWork AI Studio/bin/dist"
|
||||||
cd publish/dotnet
|
cd publish/dotnet
|
||||||
mv mindworkAIStudio "../../app/MindWork AI Studio/bin/dist/mindworkAIStudio-aarch64-unknown-linux-gnu"
|
mv mindworkAIStudio "../../app/MindWork AI Studio/bin/dist/mindworkAIStudio-aarch64-unknown-linux-gnu"
|
||||||
|
#
|
||||||
# Install Rust:
|
# Install Rust:
|
||||||
cd ../..
|
cd ../..
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- --yes
|
curl https://sh.rustup.rs -sSf | sh -s -- --yes
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
|
#
|
||||||
# Install build tools and tauri-cli requirements:
|
# Install build tools and tauri-cli requirements:
|
||||||
apt-get install --yes libwebkit2gtk-4.0-dev build-essential libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
|
apt-get install --yes libwebkit2gtk-4.0-dev build-essential libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
|
||||||
|
#
|
||||||
# Setup Tauri:
|
# Setup Tauri:
|
||||||
cargo install tauri-cli
|
cargo install tauri-cli
|
||||||
|
#
|
||||||
# Build the runtime:
|
# Build the runtime:
|
||||||
cd runtime
|
cd runtime
|
||||||
cargo tauri build --target aarch64-unknown-linux-gnu --bundles deb
|
cargo tauri build --target aarch64-unknown-linux-gnu --bundles deb
|
||||||
|
Loading…
Reference in New Issue
Block a user