Skip to content

Commit

Permalink
UEFI Shell 22H1
Browse files Browse the repository at this point in the history
* From edk2-stable202205
* Note: EDK2 now requires nasm 2.15.05 or later to compile
  which the GitHub Actions Ubuntu image does not have...
  • Loading branch information
pbatard committed May 28, 2022
1 parent fc9afa8 commit 56ecf74
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/linux_gcc_edk2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
EDK2_SHELL_VERSION_HEADER: edk2/MdePkg/Include/Protocol/Shell.h
# Was edk2/ShellPkg/Include/Protocol/EfiShell.h prior to 2016.10.18
# enum ShellVersion added on 2009.05.11
NASM_VERSION: 2.15.05

jobs:
build:
Expand All @@ -28,14 +29,24 @@ jobs:
steps:
- name: Install toolchains
run: |
sudo apt install python3-distutils nasm uuid-dev gcc-9-multilib gcc-9-aarch64-linux-gnu gcc-9-arm-linux-gnueabi gcc-9-riscv64-linux-gnu genisoimage
sudo apt install python3-distutils uuid-dev gcc-9-multilib gcc-9-aarch64-linux-gnu gcc-9-arm-linux-gnueabi gcc-9-riscv64-linux-gnu genisoimage
sudo ln -s /usr/bin/aarch64-linux-gnu-gcc-9 /usr/bin/aarch64-linux-gnu-gcc
sudo ln -s /usr/bin/aarch64-linux-gnu-gcc-ar-9 /usr/bin/aarch64-linux-gnu-gcc-ar
sudo ln -s /usr/bin/arm-linux-gnueabi-gcc-9 /usr/bin/arm-linux-gnueabi-gcc
sudo ln -s /usr/bin/arm-linux-gnueabi-gcc-ar-9 /usr/bin/arm-linux-gnueabi-gcc-ar
sudo ln -s /usr/bin/riscv64-linux-gnu-gcc-9 /usr/bin/riscv64-linux-gnu-gcc
sudo ln -s /usr/bin/riscv64-linux-gnu-gcc-ar-9 /usr/bin/riscv64-linux-gnu-gcc-ar
sudo ln -s /usr/riscv64-linux-gnu/include/gnu/stubs-lp64d.h /usr/riscv64-linux-gnu/include/gnu/stubs-lp64.h
- name: Install nasm ${{ env.NASM_VERSION }}
# https://edk2.groups.io/g/devel/topic/89637409#87359
run: |
curl -O https://www.nasm.us/pub/nasm/releasebuilds/${{ env.NASM_VERSION }}/nasm-${{ env.NASM_VERSION }}.tar.bz2
tar -xjf nasm-${{ env.NASM_VERSION }}.tar.bz2
cd nasm-${{ env.NASM_VERSION }}
./autogen.sh
./configure --prefix=/usr/local/
make
sudo make install
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ UEFI-Shell

[![Build status](https://img.shields.io/github/workflow/status/pbatard/UEFI-Shell/Linux,%20gcc,%20EDK2.svg?label=Build%20Status&style=flat-square)](https://github.com/pbatard/UEFI-Shell/actions/workflows/linux_gcc_edk2.yml)
[![Github stats](https://img.shields.io/github/downloads/pbatard/UEFI-Shell/total.svg?label=Downloads&style=flat-square)](https://github.com/pbatard/UEFI-Shell/releases)
[![Release](https://img.shields.io/badge/Latest%20Release-21H2%20(edk2--stable202108)-blue.svg?style=flat-square)](https://github.com/pbatard/UEFI-Shell/releases)
[![Release](https://img.shields.io/badge/Latest%20Release-22H1%20(edk2--stable202205)-blue.svg?style=flat-square)](https://github.com/pbatard/UEFI-Shell/releases)
[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)

This repository contains pre-built UEFI Shell binary images, generated from
Expand Down
2 changes: 1 addition & 1 deletion edk2
Submodule edk2 updated 5034 files

0 comments on commit 56ecf74

Please sign in to comment.