24:先install好,再进arm64的容器进行build 2
parent
808a6dd567
commit
30d2ed114b
|
@ -91,6 +91,8 @@ jobs:
|
||||||
-v ${{ github.workspace }}:/workspace:rw --workdir=/workspace \
|
-v ${{ github.workspace }}:/workspace:rw --workdir=/workspace \
|
||||||
--platform linux/arm64 arm64v8/ubuntu:20.04 \
|
--platform linux/arm64 arm64v8/ubuntu:20.04 \
|
||||||
bash -exc 'ls -lah && \
|
bash -exc 'ls -lah && \
|
||||||
|
cd packages/gui && \
|
||||||
|
ls -lah && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install curl -y && \
|
apt-get install curl -y && \
|
||||||
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
|
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
|
@ -101,8 +103,6 @@ jobs:
|
||||||
node -p "process.arch" && \
|
node -p "process.arch" && \
|
||||||
node -v && \
|
node -v && \
|
||||||
npm -v && \
|
npm -v && \
|
||||||
cd packages/gui && \
|
|
||||||
ls -lah && \
|
|
||||||
npm run electron:build && \
|
npm run electron:build && \
|
||||||
cd dist_electron && \
|
cd dist_electron && \
|
||||||
ls -lah && \
|
ls -lah && \
|
||||||
|
|
Loading…
Reference in New Issue