Skip to content

Commit f6b868c

Browse files
authored
Merge pull request #1530 from riscv-software-src/ci-commit-order
Per-commit CI should start from oldest commit
2 parents 1f466df + ca631b6 commit f6b868c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: sudo xargs apt-get install -y < .github/workflows/apt-packages.txt
3030

3131
- run: |
32-
for commit in $(git rev-list origin/master..HEAD); do
32+
for commit in $(git rev-list origin/master..HEAD | tac); do
3333
git checkout $commit
3434
echo "Checking commit $commit"
3535
ci-tests/build-spike
@@ -49,7 +49,7 @@ jobs:
4949
run: xargs brew install --overwrite < .github/workflows/brew-packages.txt
5050

5151
- run: |
52-
for commit in $(git rev-list origin/master..HEAD); do
52+
for commit in $(git rev-list origin/master..HEAD | tail -r); do
5353
git checkout $commit
5454
echo "Checking commit $commit"
5555
ci-tests/build-spike

0 commit comments

Comments
 (0)