Skip to content

Commit 16a2d9d

Browse files
Remove QEMU bootability tests and cache pacman packages step
Remove the QEMU bootability test and the "Cache Pacman packages" step from the build-check workflow. * **README.md** - Update the documentation to reflect the removal of the QEMU bootability test. - Update the documentation to reflect the removal of the "Cache Pacman packages" step. * **.github/workflows/build-check.yaml** - Remove the "Cache Pacman packages" step. - Remove the QEMU bootability test from the "Verify ISO" step.
1 parent aa49c46 commit 16a2d9d

File tree

2 files changed

+6
-21
lines changed

2 files changed

+6
-21
lines changed

.github/workflows/build-check.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ jobs:
2525
- name: Checkout Repository
2626
uses: actions/checkout@v4
2727

28-
- name: Cache Pacman packages
29-
uses: actions/cache@v4
30-
with:
31-
path: ${{ env.PACMAN_CACHE }}
32-
key: pacman-${{ runner.os }}-${{ github.sha }}
33-
restore-keys: |
34-
pacman-${{ runner.os }}-
35-
3628
- name: Set up Arch Linux Container
3729
run: |
3830
mkdir -p ${{ env.PACMAN_CACHE }}
@@ -92,12 +84,6 @@ jobs:
9284
exit 1
9385
}
9486
95-
# Verify ISO bootability
96-
qemu-system-x86_64 -cdrom \"\$iso_file\" -boot d -m 512 -nographic -net none -no-reboot -serial mon:stdio -display none -kernel /boot/vmlinuz-linux -initrd /boot/initramfs-linux.img -append \"console=ttyS0\" || {
97-
echo '::error::ISO bootability test failed'
98-
exit 1
99-
}
100-
10187
# Generate additional checksums
10288
md5sum \"\$iso_file\" > checksum.md5
10389
sha1sum \"\$iso_file\" > checksum.sha1

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,12 @@ The GitHub Actions workflow automatically builds and releases the ISO. Here’s
120120
- **Steps**:
121121
1. **Checkout Repository**: Pulls the latest files from the repository.
122122
2. **Set up Environment Variables**: Initializes necessary environment variables.
123-
3. **Cache Pacman Packages**: Caches packages to speed up the build process.
124-
4. **Set up Arch Linux Container**: Initializes the build environment.
125-
5. **Build ISO**: Builds the ISO using `mkarchiso`.
126-
6. **Generate Checksums**: Creates SHA256 and SHA512 checksums for the ISO.
127-
7. **Rename and Move ISO**: Renames the ISO file and moves it to the output directory.
128-
8. **Generate Release Notes**: Creates release notes for the new ISO.
129-
9. **Create Release**: Uploads the ISO and checksums as a new release on GitHub.
123+
3. **Set up Arch Linux Container**: Initializes the build environment.
124+
4. **Build ISO**: Builds the ISO using `mkarchiso`.
125+
5. **Generate Checksums**: Creates SHA256 and SHA512 checksums for the ISO.
126+
6. **Rename and Move ISO**: Renames the ISO file and moves it to the output directory.
127+
7. **Generate Release Notes**: Creates release notes for the new ISO.
128+
8. **Create Release**: Uploads the ISO and checksums as a new release on GitHub.
130129
131130
#### Check Dockerfile
132131

0 commit comments

Comments
 (0)