Merge e8ae772c35 into ba7fa5bbda
This commit is contained in:
commit
54cb676d93
1 changed files with 34 additions and 0 deletions
34
.github/workflows/main.yml
vendored
Normal file
34
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
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 and rename folder
|
||||||
|
run: |
|
||||||
|
sudo apt-get install genisoimage
|
||||||
|
mv "Filesystems/3.10 + 3.11 hybrid/" "Filesystems/3.10 modified for the hybrid/"
|
||||||
|
|
||||||
|
- 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"
|
||||||
Loading…
Add table
Reference in a new issue