From c36a6becbd6c9347ea524303a614f51ee8a93e10 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sun, 2 Aug 2020 19:38:29 +0100 Subject: [PATCH] Add bootable CI builds --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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 -- 2.47.2