From 540f2fc24d1558349f01e6aac07bc7397a6a1f59 Mon Sep 17 00:00:00 2001 From: Kleber Noel <42589399+klebster2@users.noreply.github.com> Date: Thu, 31 Oct 2024 17:12:12 +0000 Subject: [PATCH] Update continuous_integration.yml --- .github/workflows/continuous_integration.yml | 52 +------------------- 1 file changed, 2 insertions(+), 50 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 3635832..6f915f1 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -10,17 +10,13 @@ jobs: test: strategy: matrix: - os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest] + os: [ubuntu-20.04, ubuntu-22.04] include: # Include Kali Linux using container - os: ubuntu-latest container: kalilinux/kali-rolling name: kali-latest - # Include Gentoo using container - - os: ubuntu-latest - container: gentoo/stage3 - name: gentoo-latest - + runs-on: ${{ matrix.os }} container: ${{ matrix.container }} @@ -34,50 +30,6 @@ jobs: apt-get update apt-get install -y sudo git curl make gcc - # Gentoo-specific setup - - name: Setup Gentoo - if: matrix.container == 'gentoo/stage3' - run: | - # Configure make.conf - echo 'MAKEOPTS="-j$(nproc)"' >> /etc/portage/make.conf - echo "news_pkg_install_unread = ignore" >> /etc/portage/make.conf - - # Create necessary directories - mkdir -p /etc/portage/profile - mkdir -p /var/db/repos/gentoo - - # Setup kernel sources - emerge-webrsync - - # 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 basic build tools first - emerge --quiet-build=y \ - 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 - - # 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"