From 32f9d28b0ddbb4816f6bdb1f32214f4f280d8224 Mon Sep 17 00:00:00 2001 From: Kleber Noel <42589399+klebster2@users.noreply.github.com> Date: Thu, 31 Oct 2024 16:50:06 +0000 Subject: [PATCH] Update continuous_integration.yml --- .github/workflows/continuous_integration.yml | 36 ++++++++++++++++++-- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index a4091d1..8ea4c0a 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -8,12 +8,42 @@ on: jobs: test: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest] + 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 }} steps: - uses: actions/checkout@v4 - - - name: Install system dependencies + + # Kali-specific setup + - name: Setup Kali + if: matrix.container == 'kalilinux/kali-rolling' + run: | + apt-get update + apt-get install -y sudo git curl make gcc + + # Gentoo-specific setup + - name: Setup Gentoo + if: matrix.container == 'gentoo/stage3' + run: | + emerge-webrsync + emerge --quiet-build=y dev-vcs/git app-shells/bash dev-util/make sys-devel/gcc net-misc/curl + + # Common setup for Ubuntu + - name: Install system dependencies (Ubuntu) + if: "!matrix.container" run: | sudo apt-get update sudo apt-get install -y \