mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
fix github actions to obtain libssh version dynamically
This commit is contained in:
6
.github/workflows/build-freebsd.yml
vendored
6
.github/workflows/build-freebsd.yml
vendored
@@ -15,13 +15,17 @@ jobs:
|
||||
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
|
||||
|
||||
- name: Build in FreeBSD
|
||||
uses: vmactions/freebsd-vm@v1
|
||||
with:
|
||||
prepare: |
|
||||
pkg install -y git cmake
|
||||
run: |
|
||||
patch -d libssh -p1 < patch/libssh-0.10.6-2-g6f1b1e76.patch
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build
|
||||
build/mscp -h
|
||||
|
||||
Reference in New Issue
Block a user