Skip to content

Commit 67d9c8d

Browse files
committed
build: Store default configurations in tree
Create a new `ch_defconfig` file and use that instead of downloading the kernel from the CH repository. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
1 parent 9e12756 commit 67d9c8d

File tree

3 files changed

+6896
-4
lines changed

3 files changed

+6896
-4
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
fetch-depth: 1
1414
- name: Install build tools
1515
run: sudo apt install build-essential flex bison libssl-dev libelf-dev bc gcc-aarch64-linux-gnu
16-
- name: Download config (aarch64)
17-
run: curl https://raw.githubusercontent.com/cloud-hypervisor/cloud-hypervisor/main/resources/linux-config-aarch64 -o .config
16+
- name: Configure (aarch64)
17+
run: ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make ch_defconfig
1818
- name: Build (aarch64)
1919
run: ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make Image.gz -j `nproc`
20-
- name: Download config (x86-64)
21-
run: curl https://raw.githubusercontent.com/cloud-hypervisor/cloud-hypervisor/main/resources/linux-config-x86_64 -o .config
20+
- name: Configure (x86-64)
21+
run: make ch_defconfig
2222
- name: Build kernel (x86-64)
2323
run: CFLAGS="-Wa,-mx86-used-note=no" make bzImage -j `nproc`
2424
- name: Create release

0 commit comments

Comments
 (0)