name: Build iso

on: push

jobs:
  build:
    runs-on: ubuntu-20.04
    strategy:
      matrix:
        arch: [i386, x86_64]
    steps:
      - uses: actions/checkout@v2

      - name: Install dependencies
        run: sudo apt install xorriso expect mtools qemu

      - name: Build
        run: make all ARCH=${{ matrix.arch }}

      - name: Test
        run: test/is_multiboot.sh && expect test/test.expect
        env:
          ARCH: ${{ matrix.arch }}

      - name: Upload Artifacts
        uses: actions/upload-artifact@v1
        with:
          name: benny_${{ matrix.arch }}.iso
          path: benny.iso
name: Build iso

on: push

jobs:
  build:
    runs-on: ubuntu-20.04
    strategy:
      matrix:
        arch: [i386, x86_64]
    steps:
      - uses: actions/checkout@v2

      - name: Install dependencies
        run: sudo apt install xorriso expect mtools qemu-system-${{ matrix.arch }}

      - name: Build
        run: make all ARCH=${{ matrix.arch }}

      - name: Test
        run: test/is_multiboot.sh && expect test/test.expect
        env:
          ARCH: ${{ matrix.arch }}

      - name: Upload Artifacts
        uses: actions/upload-artifact@v1
        with:
          name: benny_${{ matrix.arch }}.iso
          path: benny.iso
Use appropiate package for qemu
Use appropiate package for qemu
