Skip to content

Commit 7601cc8

Browse files
committed
force git being available for regen en regarde for the pkgcore deps
Signed-off-by: Brian Harring <ferringb@gmail.com>
1 parent 1eb0f06 commit 7601cc8

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,17 +173,25 @@ jobs:
173173
artifact-id: ${{ inputs.release-artifact-id }}
174174
path: pkgcore
175175

176+
176177
- name: Checkout gentoo
177178
uses: actions/checkout@v4
178179
with:
179180
repository: gentoo/gentoo
180181
path: gentoo
181182

183+
182184
- name: Link gentoo repo
183185
run: ln -s ${PWD}/gentoo /var/db/repos/gentoo
184186

185187
- name: Install dev-python/pip
186-
run: getuto && FEATURES="-pid-sandbox -ipc-sandbox -network-sandbox" emerge -j2 -g1 dev-python/pip
188+
run: getuto && FEATURES="-pid-sandbox -ipc-sandbox -network-sandbox" emerge -j2 -g dev-python/pip
189+
190+
# Note: this should be keyed to if a dep *is* VCS, but that in turn requires a step that outputs an env variable
191+
# which this would consume. Just install the dep instead.
192+
- name: install git
193+
# use the CP; for infuriating reasons, dev-ruby/git exists
194+
run: emerge -j2 -g dev-vcs/git
187195

188196
- name: Install pkgcore
189197
run: pip install --upgrade --break-system-packages "./pkgcore"

0 commit comments

Comments
 (0)