From a878786e5811a85a91d4aa42086ada58a405bf6b Mon Sep 17 00:00:00 2001 From: mq1n Date: Tue, 2 Sep 2025 21:02:06 +0300 Subject: [PATCH] add Github actions workflow for FreeBSD build --- .github/workflows/main.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..5267492 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,35 @@ +name: build + +on: + push: + branches: + - main + +jobs: + bsd: + runs-on: ubuntu-latest + name: Main build job + steps: + - uses: actions/checkout@v4 + - name: FreeBSD job + id: test + uses: vmactions/freebsd-vm@v1 + with: + usesh: true + sync: sshfs + prepare: | + pkg install -y git cmake gmake + run: | + mkdir build + cd build + cmake .. + gmake all -j6 + - name: Collect outputs + run: | + mkdir _output + cp build/bin/* _output + - name: Upload + uses: actions/upload-artifact@v4 + with: + name: output_bsd + path: _output \ No newline at end of file