summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2024-01-21 05:32:07 +0900
committerRyo Nakamura <upa@haeena.net>2024-01-21 05:56:53 +0900
commit1e375abb8888997e015101c278c9edfa41a4a0d2 (patch)
tree48a79e3bca0d19c2064708b463756863e9792688
parent7ab5cc3ce998351ae63fd5d48e64d5f3573b1488 (diff)
add github actions to build mscp in FreeBSD
-rw-r--r--.github/workflows/build-freebsd.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/build-freebsd.yml b/.github/workflows/build-freebsd.yml
new file mode 100644
index 0000000..af6b57f
--- /dev/null
+++ b/.github/workflows/build-freebsd.yml
@@ -0,0 +1,25 @@
+name: build on FreeBSD
+
+on:
+ push:
+ branches: [ "freebsd" ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ submodules: true
+
+ - 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