Generate ISO image #48
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: | |
matrix: | |
arch: [x86_64, aarch64, riscv64] | |
include: | |
- arch: x86_64 | |
debarch: amd64 | |
- arch: aarch64 | |
debarch: arm64 | |
- arch: riscv64 | |
debarch: riscv64 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
with: | |
platforms: ${{ matrix.arch }} | |
- name: Upgrade ubuntu | |
run: do-release-upgrade -f DistUpgradeViewNonInteractive | |
- name: Build ISO for ${{ matrix.arch }} | |
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 | |
./gen.sh liveimage-minimal ${{ matrix.arch }} | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: eweos-${{ matrix.arch }} | |
path: results |