From: Daan De Meyer Date: Sun, 2 Aug 2020 18:38:29 +0000 (+0100) Subject: Add bootable CI builds X-Git-Tag: v6~34^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F489%2Fhead;p=thirdparty%2Fmkosi.git Add bootable CI builds --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 102ba425a..1fcd4a1f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,15 @@ jobs: - gpt_btrfs - gpt_squashfs - plain_squashfs + exclude: + # CentOS 8 and Clear Linux do not support btrfs. + - distro: centos + format: gpt_btrfs + - distro: centos_epel + format: gpt_btrfs + # Remove once https://github.com/clearlinux/clr-boot-manager/pull/238 is merged and available. + - distro: clear + format: gpt_btrfs steps: - uses: actions/checkout@v2 @@ -236,3 +245,24 @@ jobs: --debug run --distribution ${{ matrix.distro }} --format ${{ matrix.format }} + + - name: Build ${{ matrix.distro }}/${{ matrix.format }} UEFI + if: matrix.format != 'directory' && matrix.format != 'tar' && matrix.format != 'plain_squashfs' && + (matrix.distro != 'clear' || matrix.format != 'gpt_squashfs') + run: sudo ./mkosi + --debug run + --distribution ${{ matrix.distro }} + --format ${{ matrix.format }} + --bootable + --boot-protocols uefi + --force + + - name: Build ${{ matrix.distro }}/${{ matrix.format }} BIOS + if: matrix.format != 'directory' && matrix.format != 'tar' && !contains(matrix.format, 'squashfs') + run: sudo ./mkosi + --debug run + --distribution ${{ matrix.distro }} + --format ${{ matrix.format }} + --bootable + --boot-protocols bios + --force