mirror of
https://github.com/upa/mscp.git
synced 2026-03-06 23:57:33 +08:00
remove releasing the single binary version of mscp
The single-binary version has poor performance (due to musl, maybe), as mentioned in #22 and #25. So, we are going to stop releasing the single-binary version.
This commit is contained in:
28
.github/workflows/release.yml
vendored
28
.github/workflows/release.yml
vendored
@@ -10,34 +10,6 @@ env:
|
|||||||
BUILD_TYPE: Release
|
BUILD_TYPE: Release
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-release:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
|
|
||||||
- name: apply the patch to libssh
|
|
||||||
run: |
|
|
||||||
git -C libssh fetch --all --tags --prune
|
|
||||||
patch -d libssh -p1 < patch/$(git -C libssh describe).patch
|
|
||||||
|
|
||||||
# TODO: just building docker does not require packages. fix CMakeLists
|
|
||||||
- name: install build dependency
|
|
||||||
run: sudo ./scripts/install-build-deps.sh
|
|
||||||
|
|
||||||
- name: Configure Cmake
|
|
||||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
|
||||||
|
|
||||||
- name: Build single binary mscp
|
|
||||||
run: make -C ${{github.workspace}}/build build-single-binary
|
|
||||||
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
${{github.workspace}}/build/mscp.linux.x86_64.static
|
|
||||||
|
|
||||||
source-release:
|
source-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -61,12 +61,6 @@ sudo dnf copr enable upaaa/mscp
|
|||||||
sudo dnf install mscp
|
sudo dnf install mscp
|
||||||
```
|
```
|
||||||
|
|
||||||
- Single binary `mscp` for x86_64 (not optimal performance)
|
|
||||||
```console
|
|
||||||
wget https://github.com/upa/mscp/releases/latest/download/mscp.linux.x86_64.static -O /usr/local/bin/mscp
|
|
||||||
chmod 755 /usr/local/bin/mscp
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
@@ -86,7 +80,7 @@ cd mscp
|
|||||||
|
|
||||||
# prepare patched libssh
|
# prepare patched libssh
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
patch -d libssh -p1 < patch/$(git --git-dir=./libssh/.git describe).patch
|
patch -d libssh -p1 < patch/$(git -C libssh describe).patch
|
||||||
|
|
||||||
# install build dependency
|
# install build dependency
|
||||||
bash ./scripts/install-build-deps.sh
|
bash ./scripts/install-build-deps.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user