mirror of
https://github.com/AkiChase/scrcpy-mask
synced 2025-05-13 19:28:02 +08:00
Scrcpy Mask v0.4.0-rc1
This commit is contained in:
parent
e841ce970e
commit
b9f5144c81
47
.github/workflows/publish_arm.yml
vendored
Normal file
47
.github/workflows/publish_arm.yml
vendored
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
name: Raspberry Pi compile
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
# 匹配特定标签 (refs/tags)
|
||||||
|
tags:
|
||||||
|
- "v*" # 推送事件匹配 v*, 例如 v1.0,v20.15.10 等来触发工作流
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: pguyot/arm-runner-action@v2.5.2
|
||||||
|
with:
|
||||||
|
base_image: https://dietpi.com/downloads/images/DietPi_RPi-ARMv8-Bullseye.7z
|
||||||
|
cpu: cortex-a53
|
||||||
|
bind_mount_repository: true
|
||||||
|
image_additional_mb: 10240
|
||||||
|
optimize_image: false
|
||||||
|
commands: |
|
||||||
|
# Rust complains (rightly) that $HOME doesn't match eid home
|
||||||
|
export HOME=/root
|
||||||
|
# Workaround to CI worker being stuck on Updating crates.io index
|
||||||
|
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
||||||
|
# Install setup prerequisites
|
||||||
|
apt-get update -y --allow-releaseinfo-change
|
||||||
|
apt-get upgrade -y
|
||||||
|
apt-get autoremove -y
|
||||||
|
apt-get install curl
|
||||||
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash
|
||||||
|
# Install framework specific packages
|
||||||
|
apt-get install -y nodejs
|
||||||
|
npm install next@latest react@latest react-dom@latest eslint-config-next@latest
|
||||||
|
# Install build tools and tauri-cli requirements
|
||||||
|
apt-get install -y libwebkit2gtk-4.0-dev build-essential wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
|
||||||
|
cargo install tauri-cli
|
||||||
|
# Install frontend dependencies
|
||||||
|
npm install
|
||||||
|
# Build the application
|
||||||
|
cargo tauri build
|
||||||
|
- name: Upload deb bundle
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: Debian Bundle
|
||||||
|
path: ${{ github.workspace }}/target/release/bundle/deb/[name]_[version]_arm64.deb
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "scrcpy-mask",
|
"name": "scrcpy-mask",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.3.1",
|
"version": "0.4.0-rc1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "scrcpy-mask"
|
name = "scrcpy-mask"
|
||||||
version = "0.3.1"
|
version = "0.4.0-rc1"
|
||||||
description = "A Tauri App"
|
description = "A Tauri App"
|
||||||
authors = ["AkiChase"]
|
authors = ["AkiChase"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"productName": "scrcpy-mask",
|
"productName": "scrcpy-mask",
|
||||||
"version": "0.3.1",
|
"version": "0.4.0-rc1",
|
||||||
"identifier": "com.akichase.mask",
|
"identifier": "com.akichase.mask",
|
||||||
"build": {
|
"build": {
|
||||||
"beforeDevCommand": "pnpm dev",
|
"beforeDevCommand": "pnpm dev",
|
||||||
|
Loading…
Reference in New Issue
Block a user