Skip to content

Commit b965507

Browse files
committed
fixup! ci: Test CMake edge cases
1 parent fb5023d commit b965507

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/cmake.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ jobs:
179179
180180
181181
ubuntu-focal-native:
182-
name: 'Ubuntu 20.04, CMake 3.16, Boost from depends'
182+
name: 'Ubuntu 20.04, CMake 3.16, downloaded Boost'
183183
runs-on: ubuntu-20.04
184184

185185
steps:
@@ -201,10 +201,10 @@ jobs:
201201
cmake --version
202202
ctest --version
203203
204-
- name: Build Boost in depends
205-
working-directory: depends
204+
- name: Download Boost
206205
run: |
207-
make -j $(nproc) NO_LIBEVENT=1 NO_QT=1 NO_WALLET=1 NO_NATPMP=1 NO_UPNP=1 NO_ZMQ=1 NO_USDT=1 ALLOW_HOST_PACKAGES=1 CC=gcc-10 CXX=g++-10
206+
curl --location --remote-name https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.tar.gz
207+
tar -xf boost_1_84_0.tar.gz
208208
209209
- name: Restore Ccache cache
210210
uses: actions/cache/restore@v3
@@ -216,7 +216,7 @@ jobs:
216216

217217
- name: Generate build system
218218
run: |
219-
cmake -B build -DCMAKE_TOOLCHAIN_FILE=depends/x86_64-pc-linux-gnu/share/toolchain.cmake -DENABLE_WALLET=ON -DWITH_NATPMP=ON -DWITH_MINIUPNPC=ON -DWITH_ZMQ=ON -DWITH_USDT=ON -DWERROR=ON
219+
cmake -B build -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 -DBoost_INCLUDE_DIR="${PWD}/boost_1_84_0" -DENABLE_WALLET=ON -DWITH_MINIUPNPC=ON -DWITH_NATPMP=ON -DWITH_ZMQ=ON -DWITH_USDT=ON -DWERROR=ON
220220
221221
- name: Build
222222
working-directory: build

0 commit comments

Comments
 (0)