File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v3
13+ with :
14+ fetch-depth : 0
1315 - name : Run tests
1416 run : ./run_tests_in_docker.sh
1517
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ FROM gentoo/stage3:amd64-systemd
22
33RUN wget --progress=dot:mega -O - https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz | tar -xz \
44 && mv gentoo-master /var/db/repos/gentoo
5- RUN echo -e "ACCEPT_KEYWORDS=\" ** \"\n ACCEPT_LICENSE=\" *\"\n FEATURES=\" -news -sandbox -usersandbox -cgroup binpkg-multi-instance -binpkg-docompress -binpkg-dostrip parallel-install -ipc-sandbox -network-sandbox -pid-sandbox binpkg-ignore-signature buildpkg getbinpkg\"\n MAKEOPTS=\" --jobs=$(nproc) --load-average=$(nproc)\"\n USE=\" -initramfs kernel-install boot ukify -bash dash\" " >> /etc/portage/make.conf
5+ RUN echo -e "ACCEPT_KEYWORDS=\" ~amd64 \"\n ACCEPT_LICENSE=\" *\"\n FEATURES=\" -news -sandbox -usersandbox -cgroup binpkg-multi-instance -binpkg-docompress -binpkg-dostrip parallel-install -ipc-sandbox -network-sandbox -pid-sandbox binpkg-ignore-signature buildpkg getbinpkg\"\n MAKEOPTS=\" --jobs=$(nproc) --load-average=$(nproc)\"\n USE=\" -initramfs kernel-install boot ukify -bash dash\" " >> /etc/portage/make.conf
66RUN echo -e "sys-kernel/installkernel systemd -dracut -grub -systemd-boot -uki -ukify" >> /etc/portage/package.use/installkernel
7+ RUN echo -e "sys-kernel/installkernel **" >> /etc/portage/package.accept_keywords/installkernel
78RUN emerge --jobs="$(nproc)" --load-average="$(nproc)" sys-kernel/gentoo-kernel-bin app-text/tree app-text/asciidoc sys-apps/systemd sys-kernel/dracut sys-boot/grub sys-kernel/installkernel sys-fs/dosfstools sys-boot/refind app-alternatives/sh
89
10+ ENV LOCAL_TEST=1
911CMD /tmp/installkernel-gentoo-9999/run_tests.sh
10-
11-
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ HOMEPAGE="
1313
1414if [[ ${PV} == 9999 ]]; then
1515 EGIT_REPO_URI=" https://github.com/projg2/installkernel-gentoo.git"
16+ [[ -n ${LOCAL_TEST} ]] && EGIT_REPO_URI=" file:///tmp/installkernel-gentoo-9999/"
1617 inherit git-r3
1718else
1819 SRC_URI=" https://github.com/projg2/installkernel-gentoo/archive/v${PV} .tar.gz -> ${P} .tar.gz"
Original file line number Diff line number Diff line change 44cd /tmp || exit 1
55
66cp /tmp/installkernel-gentoo-9999/installkernel-9999.ebuild /var/db/repos/gentoo/sys-kernel/installkernel/installkernel-9999.ebuild || exit 1
7- tar -czf /var/cache/distfiles/ installkernel-9999.tar.gz installkernel- gentoo-9999/. || exit 1
7+ ls -la /tmp/ installkernel-gentoo-9999/ || exit 1
88ebuild /var/db/repos/gentoo/sys-kernel/installkernel/installkernel-9999.ebuild manifest || exit 1
99
1010INST_KERN=" $( ls /boot/kernel* -gentoo-dist* || exit 1) "
You can’t perform that action at this time.
0 commit comments