@@ -62,52 +62,35 @@ jobs:
6262 - name : Set RUSTFLAGS to deny warnings
6363 if : " matrix.toolchain == '1.75.0'"
6464 run : echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"
65- - name : Run CI script
66- shell : bash # Default on Winblows is powershell
67- run : CI_ENV=1 CI_MINIMIZE_DISK_USAGE=1 ./ci/ci-tests.sh
68-
69- build-tx-sync :
70- strategy :
71- fail-fast : false
72- matrix :
73- platform : [ ubuntu-latest, macos-latest ]
74- toolchain : [ stable, beta, 1.75.0 ]
75- runs-on : ${{ matrix.platform }}
76- steps :
77- - name : Checkout source code
78- uses : actions/checkout@v4
79- - name : Install Rust ${{ matrix.toolchain }} toolchain
80- run : |
81- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
82- - name : Set RUSTFLAGS to deny warnings
83- if : " matrix.toolchain == '1.75.0'"
84- run : echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"
8565 - name : Enable caching for bitcoind
66+ if : matrix.platform != 'windows-latest'
8667 id : cache-bitcoind
8768 uses : actions/cache@v4
8869 with :
8970 path : bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
9071 key : bitcoind-${{ runner.os }}-${{ runner.arch }}
9172 - name : Enable caching for electrs
73+ if : matrix.platform != 'windows-latest'
9274 id : cache-electrs
9375 uses : actions/cache@v4
9476 with :
9577 path : bin/electrs-${{ runner.os }}-${{ runner.arch }}
9678 key : electrs-${{ runner.os }}-${{ runner.arch }}
9779 - name : Download bitcoind/electrs
98- if : " steps.cache-bitcoind.outputs.cache-hit != 'true' || steps.cache-electrs.outputs.cache-hit != 'true'"
80+ if : " matrix.platform != 'windows-latest' && ( steps.cache-bitcoind.outputs.cache-hit != 'true' || steps.cache-electrs.outputs.cache-hit != 'true') "
9981 run : |
10082 source ./contrib/download_bitcoind_electrs.sh
10183 mkdir bin
10284 mv "$BITCOIND_EXE" bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
10385 mv "$ELECTRS_EXE" bin/electrs-${{ runner.os }}-${{ runner.arch }}
10486 - name : Set bitcoind/electrs environment variables
87+ if : matrix.platform != 'windows-latest'
10588 run : |
10689 echo "BITCOIND_EXE=$( pwd )/bin/bitcoind-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
10790 echo "ELECTRS_EXE=$( pwd )/bin/electrs-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
10891 - name : Run CI script
10992 shell : bash # Default on Winblows is powershell
110- run : CI_ENV=1 CI_MINIMIZE_DISK_USAGE=1 ./ci/ci-tx-sync- tests.sh
93+ run : CI_ENV=1 CI_MINIMIZE_DISK_USAGE=1 ./ci/ci-tests.sh
11194
11295 coverage :
11396 strategy :
0 commit comments