Skip to content

Commit fda530d

Browse files
committed
modify workflows
1 parent 7955578 commit fda530d

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

.github/workflows/archlinux.yaml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: archlinux
22
on:
3+
push:
34
workflow_dispatch:
45
env:
56
FORCE_COLOR: 1
@@ -15,11 +16,11 @@ jobs:
1516
node:
1617
- 16
1718
target:
18-
- armv6
19+
# - armv6
1920
- armv7
20-
- aarch64
21-
- s390x
22-
- ppc64le
21+
# - aarch64
22+
# - s390x
23+
# - ppc64le
2324
variant:
2425
- slim
2526
name: ${{ matrix.variant }} (node=${{ matrix.node }}, target=${{ matrix.target }})
@@ -31,7 +32,28 @@ jobs:
3132
arch: ${{ matrix.target }}
3233
distro: ubuntu_latest
3334
run: |
35+
set -x
3436
uname -a
37+
apt-get update
38+
apt-get install -y curl
39+
curl -sL https://deb.nodesource.com/setup_20.x | bash -
40+
apt-get install nodejs git -y
41+
getconf LONG_BIT
42+
ldd --version
43+
ldd /bin/ls
44+
getconf GNU_LIBC_VERSION
45+
node -p 'process.arch'
46+
npm -v
47+
48+
# file /bin/ls
49+
dpkg --print-architecture
50+
npm i -g node-pre-gyp pnpm
51+
npm i -g @whyour/qinglong --loglevel verbose
52+
export QL_DIR=/usr/lib/node_modules/@whyour/qinglong
53+
export QL_DATA_DIR=/usr/share/ql
54+
qinglong
55+
curl http://localhost:5700/api/public/health
56+
# file /lib/systemd/systemd
3557
echo ::set-output name=uname::$(uname -a)
3658
- name: Get the output
3759
run: |

0 commit comments

Comments
 (0)