Skip to content

Commit

Permalink
Merge pull request #1530 from riscv-software-src/ci-commit-order
Browse files Browse the repository at this point in the history
Per-commit CI should start from oldest commit
  • Loading branch information
aswaterman authored Dec 8, 2023
2 parents 1f466df + ca631b6 commit f6b868c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: sudo xargs apt-get install -y < .github/workflows/apt-packages.txt

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

- run: |
for commit in $(git rev-list origin/master..HEAD); do
for commit in $(git rev-list origin/master..HEAD | tail -r); do
git checkout $commit
echo "Checking commit $commit"
ci-tests/build-spike
Expand Down

0 comments on commit f6b868c

Please sign in to comment.