66 env :
77 SHELLCHECK_VERSION : v0.7.1
88 LC_ALL : C
9- runs-on : ubuntu-18 .04
9+ runs-on : ubuntu-20 .04
1010 defaults :
1111 run :
1212 shell : bash
1313 steps :
1414 - name : Checkout Repo
15- uses : actions/checkout@v2
15+ uses : actions/checkout@v3
1616 with :
1717 fetch-depth : 0
1818
1919 - name : Initialize Python
20- uses : actions/setup-python@v2
20+ uses : actions/setup-python@v4
2121 with :
2222 python-version : 3.6
2323
7474 matrix :
7575 config :
7676 - name : Linux
77- os : ubuntu-18 .04
77+ os : ubuntu-20 .04
7878 packages : python3-zmq qttools5-dev qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev libgmp-dev libsodium-dev cargo
7979 cc : gcc
8080 cxx : g++
8787
8888 steps :
8989 - name : Get Source
90- uses : actions/checkout@v2
90+ uses : actions/checkout@v3
9191
9292 - name : Setup Environment
9393 run : |
@@ -102,13 +102,10 @@ jobs:
102102
103103 - name : Prepare ccache timestamp
104104 id : ccache_cache_timestamp
105- shell : cmake -P {0}
106- run : |
107- string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
108- message("::set-output name=timestamp::${current_date}")
105+ run : echo "timestamp=$(date +%Y-%m-%dT%H:%M:%S%z)" >> $GITHUB_OUTPUT
109106
110107 - name : ccache cache files
111- uses : actions/cache@v2
108+ uses : actions/cache@v3
112109 with :
113110 path : .ccache
114111 key : cmake-${{ matrix.config.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
@@ -144,41 +141,41 @@ jobs:
144141 matrix :
145142 config :
146143 - name : ARM 32-bit
147- os : ubuntu-18 .04
144+ os : ubuntu-20 .04
148145 host : arm-linux-gnueabihf
149146 apt_get : python3 g++-arm-linux-gnueabihf
150147
151148 - name : AARCH64
152- os : ubuntu-18 .04
149+ os : ubuntu-20 .04
153150 host : aarch64-linux-gnu
154151 apt_get : python3 g++-aarch64-linux-gnu
155152
156153 - name : Win64
157- os : ubuntu-18 .04
154+ os : ubuntu-20 .04
158155 host : x86_64-w64-mingw32
159156 apt_get : python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64
160157
161158 - name : 32-bit + dash
162- os : ubuntu-18 .04
159+ os : ubuntu-20 .04
163160 host : i686-pc-linux-gnu
164161 apt_get : g++-multilib python3-zmq
165162
166163 - name : x86_64 Linux
167- os : ubuntu-18 .04
164+ os : ubuntu-20 .04
168165 host : x86_64-unknown-linux-gnu
169166 apt_get : python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev libqrencode-dev libdbus-1-dev libharfbuzz-dev
170167 dep_opts : NO_QT=1 NO_UPNP=1 NO_NATPMP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1
171168
172169 - name : macOS 10.12
173- os : ubuntu-18 .04
170+ os : ubuntu-20 .04
174171 host : x86_64-apple-darwin16
175172 apt_get : cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools
176173 XCODE_VERSION : 11.3.1
177174 XCODE_BUILD_ID : 11C505
178175
179176 steps :
180177 - name : Get Source
181- uses : actions/checkout@v2
178+ uses : actions/checkout@v3
182179
183180 - name : Setup Environment
184181 run : |
@@ -187,13 +184,10 @@ jobs:
187184
188185 - name : Prepare Depends timestamp
189186 id : depends_cache_timestamp
190- shell : cmake -P {0}
191- run : |
192- string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
193- message("::set-output name=timestamp::${current_date}")
187+ run : echo "timestamp=$(date +%Y-%m-%dT%H:%M:%S%z)" >> $GITHUB_OUTPUT
194188
195189 - name : depends cache files
196- uses : actions/cache@v2
190+ uses : actions/cache@v3
197191 with :
198192 path : |
199193 depends/built
@@ -254,7 +248,8 @@ jobs:
254248 matrix :
255249 config :
256250 - name : ARM 32-bit [GOAL:install] [no unit or functional tests]
257- os : ubuntu-18.04
251+ id : ARM32
252+ os : ubuntu-20.04
258253 host : arm-linux-gnueabihf
259254 apt_get : python3 g++-arm-linux-gnueabihf
260255 unit_tests : false
@@ -265,7 +260,8 @@ jobs:
265260 BITCOIN_CONFIG : " --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --disable-online-rust CXXFLAGS=-Wno-psabi"
266261
267262 - name : AARCH64 [GOAL:install] [no unit or functional tests]
268- os : ubuntu-18.04
263+ id : ARM64
264+ os : ubuntu-20.04
269265 host : aarch64-linux-gnu
270266 apt_get : python3 g++-aarch64-linux-gnu
271267 unit_tests : false
@@ -274,16 +270,18 @@ jobs:
274270 BITCOIN_CONFIG : " --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --disable-online-rust"
275271
276272 - name : Win64 [GOAL:deploy] [no unit or functional tests]
277- os : ubuntu-18.04
273+ id : Win64
274+ os : ubuntu-20.04
278275 host : x86_64-w64-mingw32
279276 apt_get : python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64
280277 unit_tests : false
281278 functional_tests : false
282279 goal : deploy
283280 BITCOIN_CONFIG : " --with-gui=auto --enable-reduce-exports --disable-online-rust"
284281
285- - name : x86_64 Linux [GOAL:install] [bionic]
286- os : ubuntu-18.04
282+ - name : x86_64 Linux [GOAL:install] [focal]
283+ id : Linux-x86_64
284+ os : ubuntu-20.04
287285 host : x86_64-unknown-linux-gnu
288286 apt_get : python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev libqrencode-dev libdbus-1-dev libharfbuzz-dev
289287 unit_tests : true
@@ -292,8 +290,9 @@ jobs:
292290 test_runner_extra : " --coverage --all --exclude feature_dbcrash"
293291 BITCOIN_CONFIG : " --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --disable-online-rust"
294292
295- - name : x86_64 Linux [GOAL:install] [bionic] [no GUI no unit tests - only functional tests on legacy pre-HD wallets]
296- os : ubuntu-18.04
293+ - name : x86_64 Linux [GOAL:install] [focal] [no GUI no unit tests - only functional tests on legacy pre-HD wallets]
294+ id : Linux-x86_64-nogui
295+ os : ubuntu-20.04
297296 host : x86_64-unknown-linux-gnu
298297 apt_get : python3-zmq
299298 unit_tests : false
@@ -302,8 +301,9 @@ jobs:
302301 test_runner_extra : " --legacywallet"
303302 BITCOIN_CONFIG : " --enable-zmq --with-gui=no --enable-glibc-back-compat --enable-reduce-exports --disable-online-rust"
304303
305- - name : x86_64 Linux [GOAL:install] [bionic] [no depends only system libs]
306- os : ubuntu-18.04
304+ - name : x86_64 Linux [GOAL:install] [focal] [no depends only system libs]
305+ id : Linux-x86_64-nodepends
306+ os : ubuntu-20.04
307307 host : x86_64-unknown-linux-gnu
308308 apt_get : python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libnatpmp-dev libzmq3-dev libqrencode-dev libgmp-dev libsodium-dev cargo
309309 unit_tests : true
@@ -312,7 +312,8 @@ jobs:
312312 BITCOIN_CONFIG : " --enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER'"
313313
314314 - name : macOS 10.12 [GOAL:deploy] [no functional tests]
315- os : ubuntu-18.04
315+ id : macOS10.12
316+ os : ubuntu-20.04
316317 host : x86_64-apple-darwin16
317318 apt_get : cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools
318319 XCODE_VERSION : 11.3.1
@@ -323,6 +324,7 @@ jobs:
323324 BITCOIN_CONFIG : " --enable-gui --enable-reduce-exports --enable-werror --disable-online-rust"
324325
325326 - name : macOS 11 [GOAL:deploy] [native macOS using syslibs]
327+ id : macOS11
326328 os : macos-11
327329 host : x86_64-apple-darwin20.6.0
328330 brew_install : autoconf automake ccache berkeley-db4 libtool boost miniupnpc pkg-config python@3.8 qt5 zmq libevent qrencode gmp libsodium rust librsvg
@@ -336,7 +338,7 @@ jobs:
336338
337339 steps :
338340 - name : Get Source
339- uses : actions/checkout@v2
341+ uses : actions/checkout@v3
340342
341343 - name : Setup Environment
342344 run : |
@@ -352,7 +354,7 @@ jobs:
352354
353355 - name : depends cache files
354356 if : matrix.config.no_depends != 1
355- uses : actions/cache@v2
357+ uses : actions/cache@v3
356358 with :
357359 path : |
358360 depends/built
@@ -364,20 +366,17 @@ jobs:
364366
365367 - name : Prepare ccache timestamp
366368 id : ccache_cache_timestamp
367- shell : cmake -P {0}
368- run : |
369- string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
370- message("::set-output name=timestamp::${current_date}")
369+ run : echo "timestamp=$(date +%Y-%m-%dT%H:%M:%S%z)" >> $GITHUB_OUTPUT
371370
372371 - name : ccache cache files
373- uses : actions/cache@v2
372+ uses : actions/cache@v3
374373 with :
375374 path : |
376375 .ccache
377376 .pivx-params
378- key : ${{ matrix.config.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
377+ key : ${{ matrix.config.id }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
379378 restore-keys : |
380- ${{ matrix.config.name }}-ccache-
379+ ${{ matrix.config.id }}-ccache-
381380
382381 - name : Build Wallet
383382 run : |
0 commit comments