Create main.yml

This commit is contained in:
AKuHAK 2020-07-02 10:35:52 +03:00 committed by GitHub
parent 7b283ad390
commit 7c2ef76efb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

36
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,36 @@
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: ['3.04', '3.10', '3.11', '3.10 modified for the hybrid']
steps:
- uses: actions/checkout@v2
- name: Install genisoimage
run: sudo apt-get install genisoimage
- name: Build
working-directory: "PAYLOADS/PAYLOAD ${{ matrix.version }}"
run: |
ls -l
chmod +x build.sh
./build.sh
- name: Generate iso
run: genisoimage -udf -o "exploit_${{ matrix.version }}.iso" "Filesystems/${{ matrix.version }}"
continue-on-error: true
- uses: actions/upload-artifact@v2
with:
name: ${{ matrix.version }}
path: "exploit_${{ matrix.version }}.iso"