Skip to content

Update build.yml

Update build.yml #15

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run a multi-line script
run: |
cd $GITHUB_WORKSPACE
echo 'deb-src http://azure.archive.ubuntu.com/ubuntu/ jammy main restricted' | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt build-dep linux
sudo apt install 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 binutils-aarch64-linux-gnu
env RELEASE=arm64-chromebook ./build-all ./cadmium-arm64-chromebook.img 8G
env RELEASE=arm64-efi ./build-all ./cadmium-arm64-efi.img 8G
- uses: actions/upload-artifact@v4.4.3
name: Upload artifacts
with:
name: installer-images
path: cadmium-*.img