Compare commits
3 Commits
338c9c8ccb
...
af68b1eebc
Author | SHA1 | Date |
---|---|---|
Serhii Snitsaruk | af68b1eebc | |
Serhii Snitsaruk | f83cf659e8 | |
Serhii Snitsaruk | bd0dcb3184 |
|
@ -0,0 +1,30 @@
|
|||
name: Build .NET assemblies
|
||||
|
||||
inputs:
|
||||
platform:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- linuxbsd
|
||||
- windows
|
||||
- macos
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Override GODOT_VERSION_STATUS for NuGet packages
|
||||
shell: bash
|
||||
run: |
|
||||
GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|").gha
|
||||
echo "GODOT_VERSION_STATUS=${GODOT_VERSION_STATUS}" >> "$GITHUB_ENV"
|
||||
echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}"
|
||||
|
||||
- name: Generate C# glue
|
||||
shell: bash
|
||||
run: |
|
||||
./bin/${BIN} --headless --generate-mono-glue ./modules/mono/glue || true
|
||||
|
||||
- name: Build .NET assemblies
|
||||
shell: bash
|
||||
run: |
|
||||
python ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=${{ inputs.platform }}
|
|
@ -243,19 +243,11 @@ jobs:
|
|||
PATH=${GITHUB_WORKSPACE}/buildroot/bin:$PATH
|
||||
scons platform=linuxbsd target=${{matrix.opts.target}} arch=${{matrix.opts.arch}} module_mono_enabled=${{matrix.opts.dotnet}} ${{env.SCONSFLAGS}}
|
||||
|
||||
- name: Generate C# glue
|
||||
- name: Build .NET assemblies
|
||||
if: matrix.opts.dotnet && matrix.opts.target == 'editor'
|
||||
run: |
|
||||
GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|")
|
||||
echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}"
|
||||
./bin/$BIN --headless --generate-mono-glue ./modules/mono/glue || true
|
||||
|
||||
- name: Build .NET solutions
|
||||
if: matrix.opts.dotnet && matrix.opts.target == 'editor'
|
||||
run: |
|
||||
GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|")
|
||||
echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}"
|
||||
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=linuxbsd
|
||||
uses: ./modules/limboai/.github/actions/build-dotnet-assemblies
|
||||
with:
|
||||
platform: linuxbsd
|
||||
|
||||
- name: Prepare artifact
|
||||
env:
|
||||
|
|
|
@ -183,19 +183,11 @@ jobs:
|
|||
run: |
|
||||
scons -j2 platform=macos target=${{matrix.opts.target}} arch=${{matrix.opts.arch}} module_mono_enabled=${{matrix.opts.dotnet}} ${{env.SCONSFLAGS}}
|
||||
|
||||
- name: Generate C# glue
|
||||
if: matrix.opts.dotnet && matrix.opts.target == 'editor' && matrix.opts.arch == 'x86_64'
|
||||
run: |
|
||||
GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|")
|
||||
echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}"
|
||||
./bin/$BIN --headless --generate-mono-glue ./modules/mono/glue || true
|
||||
|
||||
- name: Build .NET solutions
|
||||
if: matrix.opts.dotnet && matrix.opts.target == 'editor' && matrix.opts.arch == 'x86_64'
|
||||
run: |
|
||||
GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|")
|
||||
echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}"
|
||||
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=macos
|
||||
- name: Build .NET assemblies
|
||||
if: matrix.opts.dotnet && matrix.opts.target == 'editor'
|
||||
uses: ./modules/limboai/.github/actions/build-dotnet-assemblies
|
||||
with:
|
||||
platform: macos
|
||||
|
||||
- name: Prepare artifact
|
||||
run: |
|
||||
|
|
|
@ -220,21 +220,11 @@ jobs:
|
|||
run: |
|
||||
scons -j2 platform=windows target=${{matrix.opts.target}} arch=${{matrix.opts.arch}} module_mono_enabled=${{matrix.opts.dotnet}} ${{env.SCONSFLAGS}}
|
||||
|
||||
- name: Generate C# glue
|
||||
- name: Build .NET assemblies
|
||||
if: matrix.opts.dotnet && matrix.opts.target == 'editor'
|
||||
shell: bash
|
||||
run: |
|
||||
GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|")
|
||||
echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}"
|
||||
./bin/${{ env.BIN }} --headless --generate-mono-glue ./modules/mono/glue || true
|
||||
|
||||
- name: Build .NET solutions
|
||||
if: matrix.opts.dotnet && matrix.opts.target == 'editor'
|
||||
shell: bash
|
||||
run: |
|
||||
GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|")
|
||||
echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}"
|
||||
python ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=windows
|
||||
uses: ./modules/limboai/.github/actions/build-dotnet-assemblies
|
||||
with:
|
||||
platform: windows
|
||||
|
||||
- name: Prepare artifact
|
||||
shell: bash
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
[![Discord](https://img.shields.io/discord/1185664967379267774?logo=discord&link=https%3A%2F%2Fdiscord.gg%2FN5MGC95GpP)](https://discord.gg/N5MGC95GpP)
|
||||
[![Mastodon Follow](https://img.shields.io/mastodon/follow/109346796150895359?domain=https%3A%2F%2Fmastodon.gamedev.place)](https://mastodon.gamedev.place/@limbo)
|
||||
|
||||
>**🛈 Supported Godot Engine:** **4.2** (latest release) | **4.3-rc** (`master` branch)
|
||||
>**🛈 Supported Godot Engine:** **4.3** (v1.2.0+) | **4.2** (v1.1.x releases)
|
||||
|
||||
**LimboAI** is an open-source C++ plugin for **Godot Engine 4** providing a combination of
|
||||
**Behavior Trees** and **State Machines**, which can be used together to create complex AI behaviors.
|
||||
|
|
Loading…
Reference in New Issue