Skip to content

Commit fa2cb2f

Browse files
author
MarcoFalke
committed
Revert "Merge bitcoin#28279: ci: Add test-each-commit task"
This reverts commit 744e0e3, reversing changes made to 8209e86.
1 parent 744e0e3 commit fa2cb2f

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,6 @@ env:
2323
MAKEJOBS: '-j10'
2424

2525
jobs:
26-
test-each-commit:
27-
name: 'test each commit'
28-
runs-on: ubuntu-22.04
29-
if: github.event_name == 'pull_request'
30-
timeout-minutes: 360 # Use maximum time, see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes. Assuming a worst case time of 1 hour per commit, this leads to a --max-count=6 below.
31-
env:
32-
MAX_COUNT: '--max-count=6'
33-
steps:
34-
- uses: actions/checkout@v3
35-
with:
36-
ref: ${{ github.event.pull_request.head.sha }}
37-
fetch-depth: '8' # Two more than $MAX_COUNT
38-
- run: git checkout HEAD~ # Skip the top commit, because it is already checked by the other tasks.
39-
- run: sudo apt install clang ccache build-essential libtool autotools-dev automake pkg-config bsdmainutils python3-zmq libevent-dev libboost-dev libsqlite3-dev libdb++-dev systemtap-sdt-dev libminiupnpc-dev libnatpmp-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools qtwayland5 libqrencode-dev -y
40-
# Use clang++, because it is a bit faster and uses less memory than g++
41-
- run: git rebase --exec "echo Running test-one-commit on \$( git log -1 ) && ./autogen.sh && CC=clang CXX=clang++ ./configure && make clean && make -j $(nproc) check && ./test/functional/test_runner.py -j $(( $(nproc) * 2 ))" "$( git log '^'$( git log --merges -1 --format='%H' ) HEAD --format='%H' ${MAX_COUNT} | tail -1 )~1"
42-
4326
macos-native-x86_64:
4427
name: 'macOS 13 native, x86_64, no depends, sqlite only, gui'
4528
# Use latest image, but hardcode version to avoid silent upgrades (and breaks).

0 commit comments

Comments
 (0)