. 增加函数 wimname。 #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: 下载源码 | |
uses: actions/checkout@v3 | |
- name: 初始化 | |
run: | | |
sudo apt update | |
sudo apt -y install gcc gcc-multilib nasm p7zip-full autoconf automake make patch binutils-dev liblzma-dev gcc-mingw-w64-i686 | |
- name: 编译 | |
run: | | |
make -C umbr | |
make -j -C g4dext | |
make -j -C g4eext | |
# make -C grubutils/fbinst OSTYPE=MINGW CC=i686-w64-mingw32-gcc | |
# make -C grubutils/loadbin | |
# make -C grubutils/makemod OSTYPE=MINGW CC=i686-w64-mingw32-gcc | |
# make -C grubutils/makerom OSTYPE=MINGW CC=i686-w64-mingw32-gcc | |
# make -C grubutils/wee | |
# make -C grubutils/weesetup OSTYPE=MINGW CC=i686-w64-mingw32-gcc | |
# 7z a grubutils.7z grubutils/fbinst/fbinst.exe grubutils/loadbin/*.bin grubutils/makemod/makemod.exe grubutils/makerom/makerom.exe grubutils/makerom/*.bin grubutils/weesetup/weesetup.exe | |
- name: 上传 | |
continue-on-error: true | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: | | |
gh release delete latest --cleanup-tag --yes | |
gh release create latest -t "Development Build" g4dext-*.zip g4eext-*.zip | |
env: | |
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |