File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,17 @@ jobs:
7777 run : rustup show
7878
7979 - name : Build UEFI application (no ESP)
80- run : make -C framework_uefi build/x86_64-unknown-uefi/boot.efi
80+ run : |
81+ make -C framework_uefi build/x86_64-unknown-uefi/boot.efi
82+ mv framework_uefi/build/x86_64-unknown-uefi/boot.efi framework_tool_full.efi
83+ make -C framework_uefi FEATURES=readonly build/x86_64-unknown-uefi/boot.efi
84+ cp framework_uefi/build/x86_64-unknown-uefi/boot.efi framework_tool.efi
8185
8286 - name : Upload UEFI App
8387 uses : actions/upload-artifact@v4
8488 with :
85- name : framework.efi
86- path : framework_uefi/build/x86_64-unknown-uefi/boot .efi
89+ name : framework_efi.zip
90+ path : ./* .efi
8791
8892 - name : Install mtools to build ESP and ISO (Linux)
8993 run : sudo apt-get install -y mtools genisoimage
Original file line number Diff line number Diff line change 11TARGET? =x86_64-unknown-uefi
22BUILD =build/$(TARGET )
3+ FEATURES? =''
34
45SRC_DIR =.
56
@@ -18,7 +19,7 @@ all: $(BUILD)/boot.img
1819iso : $(BUILD ) /UEFI-Shell-fwk.iso
1920
2021clean :
21- rm -r $(BUILD )
22+ rm -rf $(BUILD )
2223
2324qemu : $(BUILD ) /boot.img
2425 $(QEMU ) $(QEMU_FLAGS ) $<
@@ -61,6 +62,7 @@ $(BUILD)/boot.efi: ../Cargo.lock $(SRC_DIR)/Cargo.toml $(SRC_DIR)/src/*
6162 mkdir -p $(BUILD )
6263 cargo rustc \
6364 --target $(TARGET ) \
65+ --features $(FEATURES ) \
6466 --release \
6567 -- \
6668 --emit link=framework_uefi/$@
You can’t perform that action at this time.
0 commit comments