Skip to content

Commit

Permalink
Update continuous_integration.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
klebster2 authored Oct 31, 2024
1 parent df3dc4f commit cc37827
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,46 @@ jobs:
- name: Setup Gentoo
if: matrix.container == 'gentoo/stage3'
run: |
# Configure news reading to avoid warnings
mkdir -p /etc/portage/profile
# Configure make.conf
echo 'MAKEOPTS="-j$(nproc)"' >> /etc/portage/make.conf
echo "news_pkg_install_unread = ignore" >> /etc/portage/make.conf
# Update portage and sync repository
# Create necessary directories
mkdir -p /etc/portage/profile
mkdir -p /var/db/repos/gentoo
# Setup kernel sources
emerge-webrsync
# Update system tools first
# Install sys-kernel/gentoo-sources first
emerge --quiet-build=y sys-kernel/gentoo-sources
# Create symbolic link for kernel sources
ln -s /usr/src/linux-* /usr/src/linux
# Update portage
emerge --quiet-build=y sys-apps/portage
# Install required packages with correct Gentoo names
# Install basic build tools first
emerge --quiet-build=y \
dev-vcs/git \
app-shells/bash \
sys-devel/make \
sys-devel/gnumake \
sys-devel/gcc \
dev-vcs/git \
app-shells/bash
# Install additional tools
emerge --quiet-build=y \
net-misc/curl \
app-misc/tmux
# Create necessary directories
mkdir -p /var/db/repos/gentoo
# Verify installations
gcc --version
make --version
git --version
bash --version
curl --version
tmux -V
# Common setup for Ubuntu
- name: Install system dependencies (Ubuntu)
if: "!matrix.container"
Expand Down

0 comments on commit cc37827

Please sign in to comment.