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.

Revisions

  1. mq1n created this gist Dec 29, 2024.
    38 changes: 38 additions & 0 deletions main.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    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