Generate ISO image #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate ISO image | |
on: | |
schedule: | |
- cron: '0 0 */3 * *' | |
workflow_dispatch: | |
jobs: | |
geniso: | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [x86_64, aarch64, riscv64] | |
variant: [liveimage-desktop, liveimage-minimal, tarball] | |
exclude: | |
- arch: riscv64 | |
variant: liveimage-desktop | |
- arch: riscv64 | |
variant: liveimage-minimal | |
include: | |
- arch: x86_64 | |
debarch: amd64 | |
- arch: aarch64 | |
debarch: arm64 | |
- arch: riscv64 | |
debarch: riscv64 | |
runs-on: ubuntu-latest | |
name: Generate ISO for ${{ matrix.variant }} - ${{ matrix.arch }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: ${{ matrix.arch }} | |
- name: Upgrade ubuntu | |
run: | | |
sudo sed -i 's/jammy/mantic/' /etc/apt/sources.list | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y wget dosfstools arch-install-scripts sudo pacman-package-manager xorriso arch-install-scripts squashfs-tools systemd-container | |
- name: Build ISO for ${{ matrix.variant }} - ${{ matrix.arch }} | |
run: | | |
./gen.sh ${{ matrix.variant }} ${{ matrix.arch }} | |
- name: Check build Results | |
id: buildresult | |
run: | | |
ls results/ | grep -v .sha256 | |
ls results/ | grep .sha256 | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: eweos-${{ matrix.arch }}-${{ matrix.variant }} | |
path: results/ | |
compression-level: 0 |