fix: install in apps/desktop dir, add ldd debug for app-builder binary
This commit is contained in:
@@ -10,9 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: electronuserland/builder:latest
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -25,11 +23,21 @@ jobs:
|
||||
|
||||
- name: Install Linux build tools
|
||||
run: |
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq rpm fakeroot dpkg libarchive-tools
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y -qq rpm fakeroot dpkg libarchive-tools
|
||||
|
||||
- name: Install dependencies
|
||||
- name: Install desktop app dependencies
|
||||
run: npm install --legacy-peer-deps
|
||||
working-directory: apps/desktop
|
||||
|
||||
- name: Debug app-builder binary
|
||||
run: |
|
||||
BINARY="node_modules/app-builder-bin/linux/x64/app-builder"
|
||||
echo "Binary exists:" && ls -lh $BINARY
|
||||
echo "File type:" && file $BINARY
|
||||
echo "Shared libs:" && ldd $BINARY || true
|
||||
echo "Try execute:" && $BINARY --version || true
|
||||
working-directory: apps/desktop
|
||||
|
||||
- name: Vite build
|
||||
run: npx electron-vite build
|
||||
|
||||
Reference in New Issue
Block a user