Skip to content

Commit 1ed3bab

Browse files
committed
fix: serial portのnative build手順を見直し
1 parent 91612ca commit 1ed3bab

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/publish-raspberrypi.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,19 @@ jobs:
3333
with:
3434
python-version: '3.10'
3535

36+
- name: Set up QEMU
37+
uses: docker/setup-qemu-action@v3
38+
with:
39+
platforms: arm64,arm
40+
41+
- name: Install dependencies
42+
run: |
43+
sudo apt-get update
44+
sudo apt-get install -y --no-install-recommends libudev-dev
45+
3646
- name: Install and build
3747
run: |
3848
npm install
39-
npm run postinstall
40-
# Build serialport for armv7l
41-
cd release/app/node_modules/@serialport/bindings-cpp
42-
npx node-gyp configure build
43-
cd -
4449
npm run build
4550
4651
- name: Publish releases

0 commit comments

Comments
 (0)