Open Thaodan opened 1 year ago
The spec is created. it can be used for release builds as well as unstable builds and PRs.
I've added the obs workflow file, it contains a workflow to build release builds, build unstable builds and test PR's.
The workflow requires that you would add the webhook to repository similar as you have done for other CI systems, I would go through you with and document the process for that.
I have a demo PR at my fork that can be seen here: https://github.com/Thaodan/pdf-tools/pull/1https://github.com/Thaodan/pdf-tools/pull/1
The demo PR creates a new project with a link of the existing unstable package to test the PR that can be seen here: https://build.opensuse.org/package/show/home:Thaodan:emacs:unstable:ci:Thaodan:pdf-tools:PR-1/emacs-pdf-tools
After this PR has been merged we can adjust the obs service to extract more build recipes from the repository so that the obs workflow can be used for distributions such as Debian.
The PR adds support for building on the openSUSE build service. First it adds a spec file to add a build recipe for rpm based distributions.
The second step is to add an obs workflow to trigger rebuild automatically
I work on the OBS side of this PR here right now:
https://build.opensuse.org/package/show/home:Thaodan:emacs/emacs-pdf-tools
[x] Spec file
[x] Obs workflow