Skip to content

release

release #10

Workflow file for this run

name: release
# todo: exclude readme.md updates
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v1
- name: initialize
run: |
sudo apt-get -y update
sudo -E apt-get -y install build-essential python iasl lzop unifont autopoint bison flex gettext gcc-aarch64-linux-gnu gcc-arm-linux-gnueabi gcc-mingw-w64
- name: bootstrap
run: ./bootstrap
- name: i686-w64-mingw32 configure
run: |
./configure --prefix=/ --target=i686-w64-mingw32 --with-platform=none --host=i686-w64-mingw32
- name: i686-w64-mingw make
run: |
make
make install DESTDIR=$PWD/PKG
- name: i686-w64-mingw clean
run: make clean
- name: arm64-efi configure
run: |
./configure --prefix=/ --target=aarch64-linux-gnu --with-platform=efi --host=aarch64-linux-gnu
- name: arm64-efi make
run: |
make
make install DESTDIR=$PWD/PKG
- name: arm64-efi clean
run: make clean
- name: arm-efi configure
run: |
./configure --prefix=/ --target=arm-linux-gnueabi --with-platform=efi --host=arm-linux-gnueabi
- name: arm-efi make
run: |
make
make install DESTDIR=$PWD/PKG
- name: arm-efi clean
run: make clean
- name: x86_64-efi configure
run: ./configure --prefix=/ --target=x86_64 --with-platform=efi
- name: x86_64-efi make
run: |
make
make install DESTDIR=$PWD/PKG
- name: x86_64-efi clean
run: make clean
- name: i386-efi configure
run: ./configure --prefix=/ --target=i386 --with-platform=efi
- name: i386-efi make
run: |
make
make install DESTDIR=$PWD/PKG
- name: i386-efi clean
run: make clean
- name: i386-pc configure
run: ./configure --prefix=/ --target=i386 --with-platform=pc
- name: i386-pc make
run: |
make
make install DESTDIR=$PWD/PKG
- name: i386-pc clean
run: make clean
- name: i386-multiboot configure
run: ./configure --prefix=/ --target=i386 --with-platform=multiboot
- name: i386-multiboot make
run: |
make
make install DESTDIR=$PWD/PKG
- name: i386-multiboot clean
run: make clean
# - name: i386-coreboot configure
# run: ./configure --prefix=/ --target=i386 --with-platform=coreboot
# - name: i386-coreboot make
# run: |
# make
# make install DESTDIR=$PWD/PKG
# - name: i386-coreboot clean
# run: make clean
- name: makepkg
run: ./makepkg.sh
- name: upload
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "Development Build"
files: grub2-latest.tar.gz