aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml56
-rw-r--r--.github/workflows/test.yml29
2 files changed, 2 insertions, 83 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6121efc..2c73602 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -89,13 +89,13 @@ jobs:
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
+ 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 (Linux ARM64)
if: matrix.platform == 'ubuntu-24.04-arm'
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
+ 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 pnpm
uses: pnpm/action-setup@v4
@@ -131,55 +131,3 @@ jobs:
with:
releaseId: ${{ needs.promote-release.outputs.release_id }}
args: ${{ matrix.args }}
-
- build-tauri-arch:
- name: Build & Upload (Arch Linux)
- needs: promote-release
- permissions:
- contents: write
- runs-on: ubuntu-latest
- container:
- image: archlinux:latest
- steps:
- - name: Install Dependencies
- run: |
- pacman -Syu --noconfirm
- pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git fuse2
- # Fix makepkg running as root
- sed -i 's/E_ROOT=1/E_ROOT=0/' /usr/bin/makepkg || true
-
- - uses: actions/checkout@v4
-
- - name: Install pnpm
- uses: pnpm/action-setup@v4
- with:
- version: 9
-
- - name: Install Node.js
- uses: actions/setup-node@v4
- with:
- node-version: 22
- cache: "pnpm"
- cache-dependency-path: "ui/pnpm-lock.yaml"
-
- - name: Install Frontend Dependencies
- run: pnpm install
- working-directory: ui
-
- - name: Install Rust
- uses: dtolnay/rust-toolchain@stable
- with:
- targets: "x86_64-unknown-linux-gnu"
-
- - name: Rust Cache
- uses: swatinem/rust-cache@v2
- with:
- workspaces: "./src-tauri -> target"
-
- - name: Build Tauri App
- uses: tauri-apps/tauri-action@v0
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- releaseId: ${{ needs.promote-release.outputs.release_id }}
- args: "--target x86_64-unknown-linux-gnu" \ No newline at end of file
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 6cb5753..b5311c9 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -47,32 +47,3 @@ jobs:
- name: Build (Dev)
working-directory: ./src-tauri
run: cargo build --verbose
-
- test-arch:
- name: Test on Arch Linux
- runs-on: ubuntu-latest
- container:
- image: archlinux:latest
- steps:
- - name: Install Dependencies
- run: |
- pacman -Syu --noconfirm
- pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git fuse2
-
- - uses: actions/checkout@v4
-
- - name: Install Rust
- uses: dtolnay/rust-toolchain@stable
-
- - name: Rust Cache
- uses: swatinem/rust-cache@v2
- with:
- workspaces: ./src-tauri
-
- - name: Run Tests
- working-directory: ./src-tauri
- run: cargo test --verbose
-
- - name: Build (Dev)
- working-directory: ./src-tauri
- run: cargo build --verbose