Тестирование новых сборок
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user