We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7437005 commit 8025afcCopy full SHA for 8025afc
1 file changed
.github/workflows/publish-armv7l.yml
@@ -27,15 +27,22 @@ jobs:
27
with:
28
node-version: 18
29
cache: npm
30
-
+
31
+ - name: Install node-gyp and node-pre-gyp
32
+ run: sudo npm install -g node-gyp node-pre-gyp
33
34
- name: Setup Python
35
uses: actions/setup-python@v2
36
- python-version: '3.10'
37
+ python-version: '3.10'
38
39
- name: Install and build
40
run: |
41
npm install
42
+ # Build serialport for armv7l
43
+ cd node_modules/@serialport/bindings-cpp
44
+ sudo node-gyp configure build
45
+ cd ../../../
46
npm run postinstall
47
npm run build
48
0 commit comments