aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-15 14:09:50 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-15 14:09:50 +0800
commit5b0df127806cb271d73ab08d04361c15d63714f2 (patch)
treee90570c7213bd555d2f7b2fe5c6aefd53d2d3261
parent716d18b9099e2663bee2dff4bde5bd24dc202c91 (diff)
downloadDropOut-5b0df127806cb271d73ab08d04361c15d63714f2.tar.gz
DropOut-5b0df127806cb271d73ab08d04361c15d63714f2.zip
refactor: Simplify release workflow by removing Wayland-specific jobs and dependencies
-rw-r--r--.github/workflows/release.yml53
1 files changed, 4 insertions, 49 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0897da7..82399e5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -68,12 +68,6 @@ jobs:
name: "Linux ARM64"
target: "aarch64-unknown-linux-gnu"
args: "--target aarch64-unknown-linux-gnu"
- - platform: "ubuntu-22.04"
- name: "Linux x86_64 (Arch/Wayland)"
- target: "x86_64-unknown-linux-gnu"
- args: "--target x86_64-unknown-linux-gnu"
- container: "archlinux:latest"
- wayland: true
- platform: "macos-latest"
name: "macOS ARM64"
target: "aarch64-apple-darwin"
@@ -95,7 +89,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install Dependencies (Linux x86_64)
- if: matrix.platform == 'ubuntu-22.04' && !matrix.wayland
+ if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libfuse2
@@ -106,27 +100,6 @@ jobs:
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libfuse2
- - name: Install Dependencies (Arch Linux)
- if: matrix.wayland
- run: |
- pacman -Syu --noconfirm
- pacman -S --noconfirm webkit2gtk base-devel curl wget file openssl gtk3 libappindicator-gtk3 librsvg fuse2 pkgconf glib2-devel libsoup3
-
- - name: Setup Wayland Environment (Arch)
- if: matrix.wayland
- run: |
- pacman -S --noconfirm cage wayland weston
-
- echo "WAYLAND_DISPLAY=wayland-1" >> $GITHUB_ENV
- echo "GDK_BACKEND=wayland" >> $GITHUB_ENV
- echo "XDG_SESSION_TYPE=wayland" >> $GITHUB_ENV
- echo "XDG_RUNTIME_DIR=/tmp/runtime-wayland" >> $GITHUB_ENV
-
- mkdir -p /tmp/runtime-wayland
- chmod 0700 /tmp/runtime-wayland
-
- echo "Wayland environment configured for testing"
-
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
@@ -153,9 +126,9 @@ jobs:
with:
workspaces: "./src-tauri -> target"
shared-key: ${{ matrix.target }}
-
+
- name: Setup appimagetool (Linux)
- if: (startsWith(matrix.platform, 'ubuntu') || matrix.wayland) && !startsWith(matrix.platform, 'macos') && !startsWith(matrix.platform, 'windows')
+ if: startsWith(matrix.platform, 'ubuntu') && !startsWith(matrix.platform, 'macos') && !startsWith(matrix.platform, 'windows')
run: |
ARCH=$(uname -m)
wget -q "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${ARCH}.AppImage"
@@ -175,7 +148,7 @@ jobs:
args: ${{ matrix.args }}
- name: Fix AppImage for Wayland (Linux)
- if: (startsWith(matrix.platform, 'ubuntu') || matrix.wayland) && !startsWith(matrix.platform, 'macos') && !startsWith(matrix.platform, 'windows')
+ if: startsWith(matrix.platform, 'ubuntu') && !startsWith(matrix.platform, 'macos') && !startsWith(matrix.platform, 'windows')
run: |
# Locate the generated AppImage
APPIMAGE=$(find bundle -name "*.AppImage" -type f | head -1)
@@ -199,21 +172,3 @@ jobs:
rm -rf squashfs-root
fi
working-directory: src-tauri/target/release
-
- - name: Test AppImage on Wayland (Arch)
- if: matrix.wayland
- run: |
- # Test that the AppImage can run in Wayland environment
- APPIMAGE=$(find bundle -name "*.AppImage" -type f | head -1)
- echo "Testing AppImage: $APPIMAGE"
- echo "Wayland display: $WAYLAND_DISPLAY"
- echo "GDK backend: $GDK_BACKEND"
-
- # Quick startup test (timeout after 5 seconds)
- timeout 5 "$APPIMAGE" --version 2>&1 || {
- echo "AppImage test failed with exit code: $?"
- exit 1
- }
-
- echo "AppImage Wayland compatibility test passed!"
- working-directory: src-tauri/target/release