Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Check building of every commit in CI #727

Open
karczex opened this issue Jul 13, 2020 · 0 comments
Open

Check building of every commit in CI #727

karczex opened this issue Jul 13, 2020 · 0 comments
Assignees

Comments

@karczex
Copy link

karczex commented Jul 13, 2020

Check building of every pull request's commit in CI

Rationale

Improve overall quality of project, and make it easier to bisect.

Description

  • Add gha build
  • Add ccache to docker image used by gha step (one image is enough)
  • Build every commit in PR, fail build in case of build failures

API Changes

No

Implementation details

pmemkv_validate_commits() {
	commits=$(git log origin/master..HEAD --pretty=format:"%h")
	for sha in $(echo ${commits} | tac); do
		git checkout $sha; make clean && make -j$(nproc)
	done
}
@karczex karczex self-assigned this Jul 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant