Skip to content

Instantly share code, notes, and snippets.

@mq1n
Created December 29, 2024 14:18
Show Gist options
  • Save mq1n/b29c34dd234b709ce5a26de37142c0f3 to your computer and use it in GitHub Desktop.
Save mq1n/b29c34dd234b709ce5a26de37142c0f3 to your computer and use it in GitHub Desktop.
m2 ci build config
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:
#release: "13.1"
usesh: true
sync: sshfs
prepare: |
pkg install -y git gmake python
run: |
cd s3ll_server/Srcs/Extern/cryptopp
gmake libcryptopp.a -j
cd ../../Server
gmake all -j6
- name: Collect outputs
run: |
mkdir _output
cp s3ll_server/Srcs/Server/db/db_r* _output
cp s3ll_server/Srcs/Server/game/game_r* _output
- name: Upload
uses: actions/upload-artifact@v3
with:
name: output_bsd
path: _output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment