Skip to content

Commit 3b4b42c

Browse files
CI update: fix native linux build
1 parent 6b5cc5e commit 3b4b42c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/linux-ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
project:
3535
- name: Bitcoin
3636
repository: willcl-ark/bitcoin
37-
dependencies: libsqlite3-dev llvm-toolchain-20 capnproto libboost-dev libcapnp-dev libevent-dev
37+
path: 'bitcoin'
38+
dependencies: libsqlite3-dev capnproto libboost-dev libcapnp-dev libevent-dev
3839

3940
env: ${{ matrix.env }}
4041

@@ -48,7 +49,7 @@ jobs:
4849
uses: actions/checkout@v4
4950
with:
5051
repository: ${{ matrix.project.repository }}
51-
path: bitcoin
52+
path: ${{ matrix.project.path }}
5253
fetch-depth: 1
5354

5455
- name: Get Bitcoin commit hash
@@ -69,7 +70,7 @@ jobs:
6970
run: |
7071
sudo apt-get -qq update
7172
sudo apt-get -qq install -y --no-install-recommends \
72-
build-essential cmake pkgconf python3 \
73+
build-essential cmake pkgconf python3 clang-20 llvm-20 ninja-build \
7374
${{ matrix.dependencies }} ${{ matrix.project.dependencies }}
7475
7576
- name: Build and test
@@ -81,6 +82,4 @@ jobs:
8182
-DCTEST_SOURCE_DIRECTORY=./bitcoin \
8283
-DBUILD_NAME_SUFFIX=${{ matrix.config }}--${{ inputs.ctest_build_name_suffix }} \
8384
${{ matrix.ctest_extra }} \
84-
-DTREAT_WARNINGS_AS_ERRORS=ON \
85-
-DCMAKE_ARGS='${{ matrix.cmake_flags }}' \
86-
-DMODEL=${{ inputs.ctest_model }}
85+
-DTREAT_WARNINGS_AS_ERRORS=ON

0 commit comments

Comments
 (0)