Skip to content

Commit 0d97760

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 0d97760

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ jobs:
163163
args: "format --check --diff"
164164

165165
gentoo-regen:
166+
env:
167+
# necessary to adapt to the GH constraints and container
168+
FEATURES: -pid-sandbox -ipc-sandbox -network-sandbox
166169
container:
167170
image: docker.io/gentoo/stage3:latest
168171
runs-on: ubuntu-latest
@@ -179,11 +182,18 @@ jobs:
179182
repository: gentoo/gentoo
180183
path: gentoo
181184

185+
182186
- name: Link gentoo repo
183187
run: ln -s ${PWD}/gentoo /var/db/repos/gentoo
184188

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

188198
- name: Install pkgcore
189199
run: pip install --upgrade --break-system-packages "./pkgcore"

0 commit comments

Comments
 (0)