Skip to content

Commit 95803b4

Browse files
committed
fix-node25
1 parent 4fa4945 commit 95803b4

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/ci.action.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,21 @@ jobs:
4040
- null
4141
- /tmp/pkgx
4242
include:
43-
- os: ubuntu-latest
44-
container: debian:buster-slim
45-
- os: windows-latest
43+
- os: ubuntu-latest
44+
container: debian:buster-slim
45+
- os: windows-latest
4646
container: ${{ matrix.container }}
4747
steps:
4848
- uses: actions/checkout@v6
4949

50+
- name: install libatomic (required by Node 25+ on older distros)
51+
if: ${{ matrix.container == 'debian:buster-slim' }}
52+
run: |
53+
# Debian buster is EOL, so we need to change mirrors
54+
sed -i 's/deb\.debian/archive\.debian/g' /etc/apt/sources.list
55+
apt-get update -qq
56+
apt-get install -y libatomic1
57+
5058
- uses: actions/setup-node@v6
5159
with:
5260
node-version: latest
@@ -61,7 +69,7 @@ jobs:
6169
- uses: ./
6270
with:
6371
PKGX_DIR: ${{ matrix.prefix }}
64-
+: cmake.org^3 curl.se
72+
+: cmake^3 curl
6573
if: ${{ runner.os == 'Windows' }}
6674

6775
- run: test -f '${{ matrix.prefix }}/curl.se/v*/bin/curl'
@@ -90,7 +98,7 @@ jobs:
9098
- uses: ./
9199
- run: npm run dist
92100
- run: rm /usr/local/bin/pkgx
93-
- run: '! pkgx --version'
101+
- run: "! pkgx --version"
94102
- run: git clean -xfd
95103
- uses: ./
96104
- run: pkgx --version

0 commit comments

Comments
 (0)