-
-
Notifications
You must be signed in to change notification settings - Fork 65
33 lines (27 loc) · 1.41 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: CI
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- name: Run a multi-line script
run: |
cd $GITHUB_WORKSPACE
echo 'deb-src http://azure.archive.ubuntu.com/ubuntu/ noble main universe restricted' | sudo tee -a /etc/apt/sources.list
echo 'deb-src http://azure.archive.ubuntu.com/ubuntu/ noble-updates main universe restricted' | sudo tee -a /etc/apt/sources.list
echo 'deb-src http://azure.archive.ubuntu.com/ubuntu/ noble-security main universe restricted' | sudo tee -a /etc/apt/sources.list
echo 'deb-src http://azure.archive.ubuntu.com/ubuntu/ noble-backports main universe 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 llvm clang
env RELEASE=arm64-chromebook ./build-all ./cadmium-arm64-chromebook.img 8G
env RELEASE=arm64-efi ./build-all ./cadmium-arm64-efi.img 8G
- uses: actions/[email protected]
name: Upload artifacts
with:
name: installer-images
path: cadmium-*.img