Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add build manager #75

Merged
merged 3 commits into from
Dec 21, 2022
Merged

chore(ci): add build manager #75

merged 3 commits into from
Dec 21, 2022

Conversation

ktomk
Copy link
Collaborator

@ktomk ktomk commented Dec 21, 2022

to more easily build the project locally, add GNU make as build manager, just make.

current workflow is aligned with configuration in travis.yml, the php command defaults to php and can be configured with PHP=php8.2.

the build is leaving the project tree for bats which goes to /tmp/bats and /tmp/local, which is from the current configuration.

github workflow configuration also updated to the current PHP version and deprecation noise reduced for the remote dependencies.

align Makefile with steps in .travis.yml to build easily locally.

just `make` or `make PHP=php8.2 test`.
in the Microsoft GitHub Action workflows to removes noise from the logs.
it's been quite some time, update php and the ubuntu versions.
@ktomk ktomk merged commit 0623ac8 into bamarni:master Dec 21, 2022
ktomk added a commit to ktomk/symfony-console-autocomplete that referenced this pull request Dec 22, 2022
in 0623ac8 (chore(ci): add build manager (bamarni#75), 2022-12-21) the bats
install is out-of-tree.  move it in.
ktomk added a commit to ktomk/symfony-console-autocomplete that referenced this pull request Dec 22, 2022
in 0623ac8 (chore(ci): add build manager (bamarni#75), 2022-12-21) the .travis.yml
steps install and test were aligned in Makefile to install and test.

for test this is fine, but for install it conflicts with the well known
make install goal, which would mean to install bin/symfony-autocomplete
under prefix.

untangle with new install/uninstall-build-deps goals that handle build
dependencies only (e.g. bats).

has consequences for clean goal as there is no need to remove the bats
git clone in build/bats for a clean build.  this is why build/b* is
excluded in clean (c.f. `build/[ac-z]*`), b* stands for bats.
ktomk added a commit to ktomk/symfony-console-autocomplete that referenced this pull request Dec 22, 2022
in 0623ac8 (chore(ci): add build manager (bamarni#75), 2022-12-21) the .travis.yml
steps install and test were aligned in Makefile to install and test.

for test this is fine, but for install it conflicts with the well known
make install goal, which would mean to install bin/symfony-autocomplete
under prefix.

untangle with new install/uninstall-build-deps goals that handle build
dependencies only (e.g. bats).

has consequences for clean goal as there is no need to remove the bats
git clone in build/bats for a clean build.  this is why build/b* is
excluded in clean (c.f. `build/[ac-z]*`), b* stands for bats.
ktomk added a commit to ktomk/symfony-console-autocomplete that referenced this pull request Dec 22, 2022
in 0623ac8 (chore(ci): add build manager (bamarni#75), 2022-12-21) the .travis.yml
steps install and test were aligned in Makefile to install and test.

for test this is fine, but for install it conflicts with the well known
make install goal, which would mean to install bin/symfony-autocomplete
under prefix.

untangle with new install/uninstall-build-deps goals that handle build
dependencies only (e.g. bats).

has consequences for clean goal as there is no need to remove the bats
git clone in build/bats for a clean build.  this is why build/b* is
excluded in clean (c.f. `build/[ac-z]*`), b* stands for bats.
ktomk added a commit to ktomk/symfony-console-autocomplete that referenced this pull request Dec 22, 2022
in 0623ac8 (chore(ci): add build manager (bamarni#75), 2022-12-21) the .travis.yml
steps install and test were aligned in Makefile to install and test.

for test this is fine, but for install it conflicts with the well known
make install goal, which would mean to install bin/symfony-autocomplete
under prefix.

untangle with new install/uninstall-build-deps goals that handle build
dependencies only (e.g. bats).

has consequences for clean goal as there is no need to remove the bats
git clone in build/bats for a clean build.  this is why build/b* is
excluded in clean (c.f. `build/[ac-z]*`), b* stands for bats.
ktomk added a commit to ktomk/symfony-console-autocomplete that referenced this pull request Dec 22, 2022
in 0623ac8 (chore(ci): add build manager (bamarni#75), 2022-12-21) the bats
install is out-of-tree.  move it in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant