ci: add Linux Docker build environment
- Ubuntu 22.04 + webkit2gtk-4.1 + librsvg2 + nodejs + rustup + tauri-cli - docker-compose: 绑定源码到 /workspace, 持久化 cargo/target 缓存 - 与 GH Actions ubuntu-latest job 依赖保持一致
This commit is contained in:
1 parent
6a8b09ef35
commit
0dbe2ba88c
2 files changed
+51
No files matched your search
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
build-linux:
|
||||
build: .
|
||||
container_name: kimiswitch-build-linux
|
||||
volumes:
|
||||
- .:/workspace
|
||||
- cargo-cache:/usr/local/cargo/registry
|
||||
- target-cache:/workspace/src-tauri/target
|
||||
working_dir: /workspace
|
||||
|
||||
volumes:
|
||||
cargo-cache:
|
||||
target-cache:
|
||||
Reference in new issue
Block a user