From 8a2fafd7abeabc744dada23456bc095de8118a59 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Sat, 26 Mar 2022 01:51:04 +0100 Subject: [PATCH] gh: Do not build Linux version of limine-s2deploy --- .github/workflows/release.yml | 15 --------------- README.md | 4 ++-- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c659b40c..43950096 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/ diff --git a/README.md b/README.md index e8059bc5..027377fe 100644 --- a/README.md +++ b/README.md @@ -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