summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-14 19:42:48 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-14 19:42:48 +0800
commit2246686200a87872e096a8e722e6f92bf78f16ff (patch)
tree593bd9a1e451c990822d9d7240ae4fba72e577d1 /.github/workflows/test.yml
parent5dd65a9fedc876b7cc20cc3d796a06d8a2d911ec (diff)
downloadDropOut-0.1.18.tar.gz
DropOut-0.1.18.zip
feat: add Arch Linux support for build and test workflowsv0.1.18
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b5311c9..e123e95 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -47,3 +47,32 @@ 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 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git
+
+ - 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