gh: Do not build Linux version of limine-s2deploy

This commit is contained in:
mintsuki 2022-03-26 01:51:04 +01:00
parent 3c909c017b
commit 8a2fafd7ab
2 changed files with 2 additions and 17 deletions

View File

@ -25,9 +25,6 @@ jobs:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install git build-essential autoconf automake nasm gcc-mingw-w64 curl mtools -y
- name: Install musl-gcc
run: curl -o musl-1.2.2.tar.gz https://musl.libc.org/releases/musl-1.2.2.tar.gz && tar -xf musl-1.2.2.tar.gz && cd musl-1.2.2 && ./configure --prefix=/usr/local && make && sudo make install
- name: Build the toolchain
run: ./make_toolchain.sh
@ -46,24 +43,12 @@ jobs:
- name: Clean limine-s2deploy
run: rm build/bin/limine-s2deploy
- name: Build limine-s2deploy-linux-x86_64
run: make -C build CC="musl-gcc" CFLAGS="-O2 -pipe" LDFLAGS="-static" limine-s2deploy
- name: Strip limine-s2deploy-linux-x86_64
run: strip build/bin/limine-s2deploy
- name: Rename limine-s2deploy-linux-x86_64
run: mv build/bin/limine-s2deploy build/bin/limine-s2deploy-linux-x86_64
- name: Build limine-s2deploy-win32
run: make -C build CC="i686-w64-mingw32-gcc" CFLAGS="-O2 -pipe" limine-s2deploy
- name: Strip limine-s2deploy-win32
run: i686-w64-mingw32-strip build/bin/limine-s2deploy.exe
- name: Rename limine-s2deploy-win32
run: mv build/bin/limine-s2deploy.exe build/bin/limine-s2deploy-win32.exe
- name: Copy LICENSE to bin
run: cp LICENSE.md build/bin/

View File

@ -61,9 +61,9 @@ fetching the `latest-binary` branch:
git clone https://github.com/limine-bootloader/limine.git --branch=latest-binary --depth=1
```
`limine-s2deploy` binaries are provided for Linux and Windows.
`limine-s2deploy` binaries are provided for Windows.
In case one wants to rebuild `limine-s2deploy`, simply run `make` in the binary
In order to rebuild `limine-s2deploy`, simply run `make` in the binary
release directory.
## Building the bootloader