47
47
- if : ${{ startsWith(matrix.os, 'ubuntu') }}
48
48
run : |
49
49
sudo apt update
50
- sudo apt install gcc-10 g++-10 -y
50
+ sudo apt install -y gcc-10 g++-10 libreadline-dev libncurses5-dev
51
51
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
52
52
- run : npm install --ignore-scripts
53
53
- run : npm run build-debug
@@ -120,7 +120,7 @@ jobs:
120
120
needs : test
121
121
steps :
122
122
- uses : actions/checkout@v4
123
- - run : apk add build-base git python3 py3-setuptools libstdc++ --update-cache
123
+ - run : apk add build-base git python3 py3-setuptools libstdc++ readline-dev ncurses-dev --update-cache
124
124
- run : npm install --ignore-scripts
125
125
- run : ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
126
126
@@ -140,7 +140,7 @@ jobs:
140
140
- uses : docker/setup-qemu-action@v3
141
141
- run : |
142
142
docker run --rm -v $(pwd):/tmp/project --entrypoint /bin/sh --platform linux/${{ matrix.arch }} node:20-alpine -c "\
143
- apk add build-base git python3 py3-setuptools libstdc++ --update-cache && \
143
+ apk add build-base git python3 py3-setuptools libstdc++ readline-dev ncurses-dev --update-cache && \
144
144
cd /tmp/project && \
145
145
npm install --ignore-scripts && \
146
146
${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}"
@@ -163,4 +163,4 @@ jobs:
163
163
docker run --rm -v $(pwd):/tmp/project --entrypoint /bin/sh --platform linux/${{ matrix.arch }} node:20-bullseye -c "\
164
164
cd /tmp/project && \
165
165
npm install --ignore-scripts && \
166
- ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}"
166
+ ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}"
0 commit comments