Update ci.yml

This commit is contained in:
Dylan M. Taylor 2020-08-22 22:33:09 -04:00 committed by GitHub
parent b068ab2d3e
commit 46426b8880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,24 +14,17 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: dependencies
- name: install build dependencies using yum
run: yum install -y \
libXpm net-tools bzip2 wget vim gcc gcc-c++ samba dos2unix glibc-devel glibc.i686 glibc-devel.i686 \
mpfr.i686 mpfr-devel.i686 zlib.i686 rsync autogen autoconf automake libtool gettext* bison binutils \
flex device-mapper-devel SDL libpciaccess libusb freetype freetype-devel gnu-free-* qemu-* virt-* \
libvirt* vte* NetworkManager-bluetooth brlapi fuse-devel dejavu* gnu-efi* pesign shim \
iscsi-initiator-utils grub2-tools zip nasm acpica-tools glibc-static zlib-static
- name: download dietlibc
run: curl -Ls https://www.fefe.de/dietlibc/dietlibc-0.34.tar.xz -o DOC/dietlibc-0.34.tar.xz
- name: download grub
run: curl -Ls https://ftp.gnu.org/gnu/grub/grub-2.04.tar.xz -o GRUB2/grub-2.04.tar.xz
- name: download edk2
run: curl -Ls https://codeload.github.com/tianocore/edk2/zip/edk2-stable201911 -o EDK2/edk2-edk2-stable201911.zip
- name: download exfat
run: curl -Ls https://codeload.github.com/relan/exfat/zip/v1.3.0 -o ExFAT/exfat-1.3.0.zip
- name: download libfuse
run: curl -Ls https://codeload.github.com/libfuse/libfuse/zip/fuse-2.9.9 -o ExFAT/libfuse-fuse-2.9.9.zip
- name: exec permission
run: chmod +x ./INSTALL/all_in_one.sh
- name: build
run: cd ./INSTALL/ && bash all_in_one.sh
- name: download sources and run build script
run: wget -P DOC/ https://www.fefe.de/dietlibc/dietlibc-0.34.tar.xz \
&& wget -P GRUB2/ https://ftp.gnu.org/gnu/grub/grub-2.04.tar.xz \
&& wget -O EDK2/edk2-edk2-stable201911.zip https://codeload.github.com/tianocore/edk2/zip/edk2-stable201911 \
&& wget -O ExFAT/exfat-1.3.0.zip https://codeload.github.com/relan/exfat/zip/v1.3.0 \
&& wget -O ExFAT/libfuse-fuse-2.9.9.zip https://codeload.github.com/libfuse/libfuse/zip/fuse-2.9.9 \
&& cd INSTALL && ls -la && sh all_in_one.sh