From fadac8871e512a410f9739bee4ba146432c60784 Mon Sep 17 00:00:00 2001 From: Danil Date: Sun, 16 Jun 2024 08:55:47 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D1=81=D1=82=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=BE=D0=B2=D1=8B=D1=85?= =?UTF-8?q?=20=D1=81=D0=B1=D0=BE=D1=80=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 43fb7b2..a2f9e26 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -16,6 +16,15 @@ jobs: - platform: ubuntu-latest output_dir_one: src-tauri/target/release/bundle/appimage/**.AppImage output_dir_two: src-tauri/target/release/bundle/deb/**.deb + args: --target x86_64-unknown-linux-gnux32 + - platform: ubuntu-latest + output_dir_one: src-tauri/target/release/bundle/appimage/**.AppImage + output_dir_two: src-tauri/target/release/bundle/deb/**.deb + args: --target x86_64-unknown-linux-musl + - platform: ubuntu-latest + output_dir_one: src-tauri/target/release/bundle/appimage/**.AppImage + output_dir_two: src-tauri/target/release/bundle/deb/**.deb + args: --target x86_64-unknown-linux-ohos - platform: windows-latest output_dir_one: src-tauri/target/release/bundle/msi/**.msi output_dir_two: src-tauri/target/release/bundle/nsis/**.exe @@ -39,12 +48,12 @@ jobs: - name: install Rust stable uses: dtolnay/rust-toolchain@stable with: - targets: ${{ matrix.args }} + targets: ${{ matrix.platform == 'ubuntu-latest' && 'x86_64-unknown-linux-gnux32,x86_64-unknown-linux-musl,x86_64-unknown-linux-ohos' || '' }} - name: Install Ubuntu dependencies if: matrix.platform == 'ubuntu-latest' run: | sudo apt update - sudo apt-get install cmake libglvnd-dev -y + sudo apt-get install cmake libglvnd-dev glib-2.0 -y sudo apt install libwebkit2gtk-4.0-dev \ build-essential \ curl \ @@ -65,7 +74,7 @@ jobs: releaseName: ${{ env.APP_NAME }} v__VERSION__ releaseDraft: true prerelease: false - #args: --target ${{ matrix.args }} + args: ${{ matrix.args }} - name: Search files run: ls src-tauri/