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 e81c1a4 commit 32f9d28
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 32f9d28

Please sign in to comment.