Skip to content

Build cadmium images #75

Build cadmium images

Build cadmium images #75

Workflow file for this run

name: Build cadmium images
on: [push, workflow_dispatch]
env:
ROOTFILESYSTEM: ext4
jobs:
build-debian-arm-64:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: set up environment
run: |
cd $GITHUB_WORKSPACE
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt update
sudo apt install -y libunwind-dev
sudo apt build-dep linux
sudo apt install gcc-arm-linux-gnueabihf libarchive-tools curl wget f2fs-tools cgpt vboot-utils libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf qemu-user-static gcc-aarch64-linux-gnu debootstrap binutils-aarch64-linux-gnu git u-boot-tools binfmt-support lz4
- name: build arm64-debian
env:
RFILESYSTEM: debian
ARCHITECTURE: arm64
run: |
ls
cp cadmium-configs/arm64/config-debian config
sudo -E ./build-all arm64-debian.img 2G
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: arm64-debian
path: arm64-debian.img
build-debian-arm-32:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: set up environment
run: |
cd $GITHUB_WORKSPACE
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt update
sudo apt install -y libunwind-dev
sudo apt build-dep linux
sudo apt install gcc-arm-linux-gnueabihf libarchive-tools curl wget f2fs-tools cgpt vboot-utils libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf qemu-user-static gcc-aarch64-linux-gnu debootstrap binutils-aarch64-linux-gnu git u-boot-tools binfmt-support lz4
- name: build arm32-debian
env:
RFILESYSTEM: debian
ARCHITECTURE: arm
run: |
ls
cp cadmium-configs/arm/config-debian config
sudo -E ./build-all arm32-debian.img 2G
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: arm32-debian
path: arm32-debian.img
build-arch-arm-64:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: set up environment
run: |
cd $GITHUB_WORKSPACE
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt update
sudo apt install -y libunwind-dev
sudo apt build-dep linux
sudo apt install arch-install-scripts gcc-arm-linux-gnueabihf libarchive-tools curl wget f2fs-tools cgpt vboot-utils libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf qemu-user-static gcc-aarch64-linux-gnu debootstrap binutils-aarch64-linux-gnu git u-boot-tools binfmt-support lz4
- name: build arm64-arch
env:
RFILESYSTEM: arch
ARCHITECTURE: arm64
run: |
ls
cp cadmium-configs/arm64/config-arch config
sudo -E ./build-all arm64-arch.img 3G
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: arm64-arch
path: arm64-arch.img
build-arch-arm-32:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: set up environment
run: |
cd $GITHUB_WORKSPACE
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt update
sudo apt install -y libunwind-dev
sudo apt build-dep linux
sudo apt install arch-install-scripts gcc-arm-linux-gnueabihf libarchive-tools curl wget f2fs-tools cgpt vboot-utils libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf qemu-user-static gcc-aarch64-linux-gnu debootstrap binutils-aarch64-linux-gnu git u-boot-tools binfmt-support lz4
- name: build arm32-arch
env:
RFILESYSTEM: arch
ARCHITECTURE: arm
run: |
ls
cp cadmium-configs/arm/config-arch config
sudo -E ./build-all arm32-arch.img 3G
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: arm32-arch
path: arm32-arch.img
build-void-arm-64:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: set up environment
run: |
cd $GITHUB_WORKSPACE
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt update
sudo apt install -y libunwind-dev
sudo apt build-dep linux
sudo apt install gcc-arm-linux-gnueabihf libarchive-tools curl wget f2fs-tools cgpt vboot-utils libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf qemu-user-static gcc-aarch64-linux-gnu debootstrap binutils-aarch64-linux-gnu git u-boot-tools binfmt-support lz4
- name: build arm64-void
env:
RFILESYSTEM: void
ARCHITECTURE: arm64
run: |
ls
cp cadmium-configs/arm64/config-void config
sudo -E ./build-all arm64-void.img 3G
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: arm64-void
path: arm64-void.img
build-void-arm-32:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: set up environment
run: |
cd $GITHUB_WORKSPACE
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt update
sudo apt install -y libunwind-dev
sudo apt build-dep linux
sudo apt install gcc-arm-linux-gnueabihf libarchive-tools curl wget f2fs-tools cgpt vboot-utils libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf qemu-user-static gcc-aarch64-linux-gnu debootstrap binutils-aarch64-linux-gnu git u-boot-tools binfmt-support lz4
- name: build arm32-void
env:
RFILESYSTEM: void
ARCHITECTURE: arm
run: |
ls
cp cadmium-configs/arm/config-void config
sudo -E ./build-all arm32-void.img 3G
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: arm32-void
path: arm32-void.img
build-void-musl-arm-64:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: set up environment
run: |
cd $GITHUB_WORKSPACE
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt update
sudo apt install -y libunwind-dev
sudo apt build-dep linux
sudo apt install gcc-arm-linux-gnueabihf libarchive-tools curl wget f2fs-tools cgpt vboot-utils libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf qemu-user-static gcc-aarch64-linux-gnu debootstrap binutils-aarch64-linux-gnu git u-boot-tools binfmt-support lz4
- name: build arm64-void-musl
env:
RFILESYSTEM: void-musl
ARCHITECTURE: arm64
run: |
ls
cp cadmium-configs/arm64/config-void-musl config
sudo -E ./build-all arm64-void-musl.img 3G
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: arm64-void-musl
path: arm64-void-musl.img
build-void-musl-arm-32:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: set up environment
run: |
cd $GITHUB_WORKSPACE
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt update
sudo apt install -y libunwind-dev
sudo apt build-dep linux
sudo apt install gcc-arm-linux-gnueabihf libarchive-tools curl wget f2fs-tools cgpt vboot-utils libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf qemu-user-static gcc-aarch64-linux-gnu debootstrap binutils-aarch64-linux-gnu git u-boot-tools binfmt-support lz4
- name: build arm32-void-musl
env:
RFILESYSTEM: void-musl
ARCHITECTURE: arm
run: |
ls
cp cadmium-configs/arm/config-void-musl config
sudo -E ./build-all arm32-void-musl.img 3G
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: arm32-void-musl
path: arm32-void-musl.img