mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-30 12:02:57 +01:00
all new emerge --pretend check
This commit is contained in:
parent
3a669cd9c7
commit
4d7220edf2
2 changed files with 45 additions and 0 deletions
26
.github/workflows/pentoo-visibility.yaml
vendored
Normal file
26
.github/workflows/pentoo-visibility.yaml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
name: Pentoo Visibility Check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
pentoo-visibility-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: List added files
|
||||
run: git diff-tree --no-commit-id --name-only -r ${{ github.sha }}
|
||||
-
|
||||
name: Visibility Check
|
||||
run: |
|
||||
sudo docker build --progress=plain . -f scripts/qa/Dockerfile
|
||||
19
scripts/qa/Dockerfile
Normal file
19
scripts/qa/Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
FROM pentoolinux/pentoo-core
|
||||
|
||||
#setup gentoo repo
|
||||
WORKDIR /var/db/repos/
|
||||
RUN git clone https://github.com/gentoo/gentoo.git --depth 1
|
||||
#RUN git clone https://github.com/pentoo/pentoo-overlay.git pentoo --depth 1
|
||||
COPY . pentoo
|
||||
RUN pwd
|
||||
RUN ls -al
|
||||
RUN ls -al pentoo
|
||||
#RUN emerge --regen --jobs=$(nproc) --quiet
|
||||
WORKDIR /home
|
||||
#RUN sed -i 's#pentoo-in-a-container#pentoo-in-a-container -pentoo-full#' /etc/portage/make.conf
|
||||
#disable minimal
|
||||
RUN sed -i 's# pentoo-minimal##' /etc/portage/make.conf
|
||||
#install libsndfile minimal to break circular deps
|
||||
#RUN USE=minimal FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" emerge --getbinpkg=y --buildpkg=n --jobs=$(nproc) --load-average=$(nproc) --deep --update --newuse media-libs/libsndfile
|
||||
#install pentoo/pentoo
|
||||
RUN FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" emerge --getbinpkg=y --buildpkg=n --jobs=$(nproc) --load-average=$(nproc) --deep --update --newuse pentoo/pentoo --verbose --pretend
|
||||
Loading…
Reference in a new issue