mirror of
https://github.com/CarlGao4/um-react-electron.git
synced 2025-05-23 16:27:43 +08:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a7db45386b | ||
|
8675fff999 | ||
|
a8f24f9ec0 | ||
|
bc10acf44b | ||
|
aee51c99c6 |
19
.github/workflows/build-electron.yml
vendored
19
.github/workflows/build-electron.yml
vendored
@ -38,11 +38,19 @@ jobs:
|
||||
with:
|
||||
ref: ${{ inputs.commit || github.sha }}
|
||||
|
||||
# 关键修改:补充编译依赖
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt-get update
|
||||
sudo apt-get install npm wine32
|
||||
sudo apt-get install -y \
|
||||
npm \
|
||||
wine32 \
|
||||
build-essential \
|
||||
python3 \
|
||||
libxi-dev \
|
||||
libgl1-mesa-dev \
|
||||
libpng-dev
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
@ -53,7 +61,7 @@ jobs:
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
cd um-react
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm install --no-frozen-lockfile
|
||||
cd ..
|
||||
npm install --frozen-lockfile
|
||||
|
||||
@ -90,8 +98,11 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
# macOS 补充依赖
|
||||
- name: Install system dependencies
|
||||
run: brew install node
|
||||
run: |
|
||||
brew install node
|
||||
brew install pkg-config cairo pango libpng jpeg giflib
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
@ -102,7 +113,7 @@ jobs:
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
cd um-react
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm install --no-frozen-lockfile
|
||||
cd ..
|
||||
npm install --frozen-lockfile
|
||||
|
||||
|
2
um-react
2
um-react
@ -1 +1 @@
|
||||
Subproject commit acb7a634b19db0e0fa8636527df4ff0c6573b6f1
|
||||
Subproject commit d91e2fffe4747da635d4d82579205a0e8a8a298e
|
Loading…
x
Reference in New Issue
Block a user