Commit Graph

38 Commits

Author SHA1 Message Date
classabbyamp b14155fb2a .github/workflows/build: only add chroot-git to path during prep steps
fixes #52250
2024-09-17 13:34:32 -04:00
classabbyamp 8bdb540f12
.github/workflows: update image 2024-05-26 03:48:00 -04:00
classabbyamp 3288eca6bc
.github/workflows: update buildroot images 2023-12-30 00:42:56 -05:00
classabbyamp 7eab058511
.github/workflows/build.yaml: take chroot-git out of PATH for xlint 2023-09-09 00:29:57 -04:00
classabbyamp 28804b9596
.github/workflows/build.yaml: full git is needed for xlint 2023-09-09 00:23:41 -04:00
classabbyamp 0192981922 .github/workflows/build.yaml: verify the functionality of update-check 2023-09-08 04:33:16 -04:00
classabbyamp a6a74669ef .github/workflows/build.yaml: run xlint in a void container 2023-09-08 04:33:16 -04:00
classabbyamp ddc9cad62a
.github/workflows: update CI image 2023-09-04 15:43:16 -04:00
classabbyamp c828e16253
.github/workflows/{build,cycles}: use new buildroot images 2023-08-18 16:37:04 -04:00
Michael Aldridge b6de07b1e0 .github/workflows: update masterdirs to 20230708RC01. 2023-07-08 15:33:18 -05:00
classabbyamp d7270a907d .github/workflows: update masterdir image 2023-04-25 16:07:05 -04:00
Duncaen 49effd02d2
.github/workflows: update containers to latest masterdir image 2023-02-04 15:05:05 +01:00
Michael Aldridge bd5a5b3146 .github/workflows: Use a different vintage of masterdir 2023-02-03 22:57:53 -06:00
Michael Aldridge 9dd29572de .github/workflows: update masterdirs 2023-02-03 21:34:36 -06:00
classabbyamp 08f062aad3 .github/workflows: use treeless-checkout-action 2023-01-29 20:54:40 -06:00
classabbyamp 1624cbb9a8
.github/workflows/{build.yaml,cycles.yml}: update masterdir image 2023-01-11 09:53:12 -05:00
classabbyamp 4410de52c1 .github/workflows: use checkout script instead of action
uses treeless fetches instead of `--depth`. This is not supported by
`actions/checkout`, so it was implemented as a short script (staying
with `actions/checkout@v1` does not seem like a good idea because of
its age, and updating to `actions/checkout@v3` would require adding
`libstdc++` to any CI workflows that run in void containers because
of node's requirements)

see also: https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/

this can't be implemented as a script in `common/travis/` because the
repo doesn't exist on the runner (yet!)

also fix indentation in cycle check
2022-12-21 01:15:15 -05:00
classabbyamp e0c8a977c4 .github/workflows/build.yaml: add /usr/libexec/chroot-git to PATH 2022-10-25 14:23:46 -04:00
Duncaen 92031434c9
.github/workflows: switch to repo-ci.voidlinux.org 2022-08-05 23:06:25 +02:00
Michael Aldridge 8fe764cd87 .github/workflows: Update masterdirs 2022-05-27 18:20:42 -05:00
classabbyamp 290d86ca28 .github/workflows/build.yaml: auto-cancel in-progress workflows 2022-05-17 11:52:50 -05:00
classabbyamp 0763ffbad8 .github/workflows/build.yaml: switch to ubuntu-latest 2022-05-17 11:52:50 -05:00
Piotr Wójcik 2381637340 .github/: skip file conflicts check if no packages are built
workflow was limited to branches modifying srcpkgs/, but this
still triggered when modifying only update files or removing template
2022-05-10 19:56:24 +02:00
classabbyamp 1c953b4173 common/travis/xpkgdiff.sh: add CI script to compare pkgs with xpkgdiff 2022-05-07 22:42:44 +02:00
Piotr Wójcik e900c63cf9 .github: check file conflicts in x86_64 build job 2022-05-05 21:29:41 +02:00
classabbyamp 7ce971f655 .github/workflows/build.yaml: only run on changes in srcpkgs/ 2022-04-14 13:41:22 -05:00
Đoàn Trần Công Danh b4c6ac31f4 GitHub Action: build on push to branches designated for CI 2022-03-27 18:38:25 -05:00
Đoàn Trần Công Danh d74a3950fa github/workflow: don't install git 2021-10-27 07:37:34 +07:00
Đoàn Trần Công Danh 46e6063606 CI: make lint-commits part of xlint.sh
* CI will stop whenever a step is failing.
* We always want to enforce commit message lint
* `xlint` is reporting some false positive for license with " WITH "

Let's make the lint-commits part of xlint.sh
2021-05-31 17:47:56 +07:00
Piotr Wójcik d06bb7e98f workflows: fetch xbps for lint step 2021-05-27 21:18:38 +02:00
Đoàn Trần Công Danh 1f07584a66 common: add basic commit lint
Warn if:
* subject is longer than 50 characters

Error if:
* any lines are longer than 80 characters except it's footnotes
* second line is not blank
2021-05-21 15:56:44 +07:00
Michael Aldridge 770367e193 .github/workflows: Pull masterdirs from ghcr 2021-03-15 16:04:13 -07:00
Érico Rolim 9d64f0940e .github/workflows: shorten step list.
This makes CI results more concise.
2021-01-03 18:55:15 -03:00
Érico Rolim b6e7863cbd .github/workflows: add script to check that packages can still be
installed.

This will allow us to confirm the repository's staging state in CI.
2020-12-23 16:14:53 -03:00
Érico Rolim d946fe791d .github/workflows: run tests on CI for native builds.
Also:
- fix "list contents" step by adding a fetch-xtools step.
- remove git from masterdir to not interfere with builds (thanks @sgn)
2020-12-14 00:18:04 -03:00
Đoàn Trần Công Danh 7dd89d0df3 GitHub Action: install xtools for "show files" step 2020-12-14 08:17:44 +07:00
Érico Rolim 55f0c47176 .github/workflows/build: don't skip CI when PR is a draft.
When a PR is marked as ready for review (no longer a draft), CI isn't
re-run automatically, so no tests are run until the PR is updated. Even
trying to manually re-run the jobs doesn't fix this, since GH appears to
remember the PR state instead of using the current one.
2020-11-22 21:56:19 -03:00
Érico Rolim d97410a07a .github/workflows: add build.yaml.
This commit enables CI on GitHub Actions.

Taken from nilium's repository:

e9bf829752/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
- remove some names
- use more recent void containers
- fix XBPS self update
2020-11-13 19:33:25 -03:00