Created
December 29, 2024 14:18
-
-
Save mq1n/b29c34dd234b709ce5a26de37142c0f3 to your computer and use it in GitHub Desktop.
m2 ci build config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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