aboutsummaryrefslogtreecommitdiff
path: root/.github/actions/openvic-build
diff options
context:
space:
mode:
author CptAlanSmith <123112708+CptAlanSmith@users.noreply.github.com>2023-09-24 12:05:36 +0200
committer GitHub <noreply@github.com>2023-09-24 12:05:36 +0200
commita579fa30b9faced48499028f32e3ae53d7eeb142 (patch)
treed1e99c1e2ea0765d7c721851b89b8c9ef0c90af8 /.github/actions/openvic-build
parent0b4c30aa02c3ec1dacfc3ac190af4733531753ea (diff)
parentcc3ced120cdb83b144f9c19d338cb354d15442e8 (diff)
Merge pull request #158 from Spartan322/outsource/extras
Move actions and scripts to separate reusable repos
Diffstat (limited to '.github/actions/openvic-build')
-rw-r--r--.github/actions/openvic-build/action.yml32
1 files changed, 0 insertions, 32 deletions
diff --git a/.github/actions/openvic-build/action.yml b/.github/actions/openvic-build/action.yml
deleted file mode 100644
index a4b3507..0000000
--- a/.github/actions/openvic-build/action.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-name: Build OpenVic Extension
-description: Build OpenVic Extension with provided options.
-inputs:
- target:
- description: Build target (editor, template_release, template_debug).
- default: "template_release"
- platform:
- description: Target platform.
- required: false
- sconsflags:
- default: ""
- scons-cache:
- description: The scons cache path.
- default: "${{ github.workspace }}/.scons-cache/"
- scons-cache-limit:
- description: The scons cache size limit.
- # actions/cache has 10 GiB limit, and GitHub runners have a 14 GiB disk.
- # Limit to 7 GiB to avoid having the extracted cache fill the disk.
- default: 7168
-runs:
- using: "composite"
- steps:
- - name: Scons Build
- shell: sh
- env:
- SCONSFLAGS: ${{ inputs.sconsflags }}
- SCONS_CACHE: ${{ inputs.scons-cache }}
- SCONS_CACHE_LIMIT: ${{ inputs.scons-cache-limit }}
- run: |
- echo "Building with flags:" platform=${{ inputs.platform }} target=${{ inputs.target }} ${{ env.SCONSFLAGS }}
- scons platform=${{ inputs.platform }} target=${{ inputs.target }} ${{ env.SCONSFLAGS }}
- ls -l game/bin/openvic/ \ No newline at end of file