@@ -223,7 +223,7 @@ jobs:
223223
224224 - name : Generate build system
225225 run : |
226- cmake -B build --preset vs2022 -DCMAKE_TOOLCHAIN_FILE="${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" ${{ matrix.generate-options }}
226+ cmake -B build -Werror=dev - -preset vs2022 -DCMAKE_TOOLCHAIN_FILE="${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" ${{ matrix.generate-options }}
227227
228228 - name : Save vcpkg binary cache
229229 uses : actions/cache/save@v4
@@ -260,6 +260,7 @@ jobs:
260260 env :
261261 BITCOIND : ' ${{ github.workspace }}\build\bin\Release\bitcoind.exe'
262262 BITCOINCLI : ' ${{ github.workspace }}\build\bin\Release\bitcoin-cli.exe'
263+ BITCOINTX : ' ${{ github.workspace }}\build\bin\Release\bitcoin-tx.exe'
263264 BITCOINUTIL : ' ${{ github.workspace }}\build\bin\Release\bitcoin-util.exe'
264265 BITCOINWALLET : ' ${{ github.workspace }}\build\bin\Release\bitcoin-wallet.exe'
265266 BITCOINCHAINSTATE : ' ${{ github.workspace }}\build\bin\Release\bitcoin-chainstate.exe'
@@ -390,16 +391,19 @@ jobs:
390391 (Get-Content "test/config.ini") -replace '(?<=^SRCDIR=).*', '${{ github.workspace }}' -replace '(?<=^BUILDDIR=).*', '${{ github.workspace }}' -replace '(?<=^RPCAUTH=).*', '${{ github.workspace }}/share/rpcauth/rpcauth.py' | Set-Content "test/config.ini"
391392 Get-Content "test/config.ini"
392393
393- - name : Run util tests
394- run : py -3 test/util/test_runner.py
394+ - name : Set previous release directory
395+ run : |
396+ echo "PREVIOUS_RELEASES_DIR=${{ runner.temp }}/previous_releases" >> "$GITHUB_ENV"
395397
396- - name : Run rpcauth test
397- run : py -3 test/util/rpcauth-test.py
398+ - name : Get previous releases
399+ working-directory : test
400+ run : ./get_previous_releases.py --target-dir $PREVIOUS_RELEASES_DIR
398401
399402 - name : Run functional tests
400403 env :
401404 # TODO: Fix the excluded test and re-enable it.
402- EXCLUDE : ' --exclude wallet_multiwallet.py'
405+ # feature_unsupported_utxo_db.py fails on windows because of emojis in the test data directory
406+ EXCLUDE : ' --exclude wallet_multiwallet.py,feature_unsupported_utxo_db.py'
403407 TEST_RUNNER_EXTRA : ${{ github.event_name != 'pull_request' && '--extended' || '' }}
404408 run : py -3 test/functional/test_runner.py --jobs $NUMBER_OF_PROCESSORS --ci --quiet --tmpdirprefix="$RUNNER_TEMP" --combinedlogslen=99999999 --timeout-factor=$TEST_RUNNER_TIMEOUT_FACTOR $EXCLUDE $TEST_RUNNER_EXTRA
405409
0 commit comments