rivosinc / salus

Risc-V hypervisor for TEE development
92 stars 25 forks source link

ci: Build each commit in the forward order #300

Closed sboeuf closed 1 year ago

sboeuf commented 1 year ago

By default, git rev-list returns a list of commits in reverse order. This caused an unexpected behavior with the tellus/guestvm integration tests. Because the last commit to be built was the first commit of the pull request, both salus and tellus_guestvm binaries didn't include all the changes from that same pull request.

The way to fix this is by using --reverse option from git rev-list, so that we can walk through each commit in the forward direction.