From dd0208e829ec6e151a290cdf57f9455be1547f06 Mon Sep 17 00:00:00 2001 From: Bensong Liu <bensl@microsoft.com> Date: Tue, 8 Dec 2020 17:18:14 +0800 Subject: [PATCH] adjust ci --- .gitlab-ci.yml | 4 ++++ Makefile | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 62075a4..1ed9f56 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,18 @@ image: archlinux/base +stages: build + before_script: - pacman -Sy - pacman -S --noconfirm nasm gcc make build32: + stage: build script: - make BITS=32 build64: + stage: build script: - make BITS=64 diff --git a/Makefile b/Makefile index 6347967..131681e 100644 --- a/Makefile +++ b/Makefile @@ -24,4 +24,9 @@ assemble-uefi: build run-legacy: assemble-legacy qemu-system-x86_64 legacy.img +clean: + $(MAKE) -C bootloader-legacy clean + # $(MAKE) -C bootloader-uefi clean + $(MAKE) -C kernel clean + -- GitLab