Skip to content

Added example script with documentation. #125

Added example script with documentation.

Added example script with documentation. #125

Workflow file for this run

name: Build server
on: [ push, pull_request ]
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v3
- name: Enable Developer Command Prompt
uses: ilammy/[email protected]
- name: Get latest CMake and ninja
uses: lukka/get-cmake@latest
- name: Configure
run: cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DRORSERVER_WITH_ANGELSCRIPT=ON .
- name: Build
run: ninja
- name: Upload bin folder
uses: actions/upload-artifact@v3
with:
name: ror-server-${{ matrix.os }}
path: bin