Skip to content

Fix a forgotten array not using MAXPLAYERS #4

Fix a forgotten array not using MAXPLAYERS

Fix a forgotten array not using MAXPLAYERS #4

Workflow file for this run

name: Test Sourcemod compilation
on:
pull_request:
branches: main
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set environment variables
run: echo SCRIPTS_PATH=$(pwd) >> $GITHUB_ENV
- name: Download SourcePawn plugin dependencies
uses: tsuza/SPDependy@v2
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
- name: Setup SourcePawn Compiler ${{ matrix.SM_VERSION }}
id: setup_sp
uses: rumblefrog/setup-sp@master
with:
version: "1.11.x"
version-file: ./scripting/attribute_viewmodel_override.sp
- name: Compile plugins
run: |
mkdir plugins
spcomp -w234 -O2 -v2 -i"scripting/include" -i".temp/include" -o"plugins/attribute_viewmodel_override.smx" scripting/attribute_viewmodel_override.sp
working-directory: ${{ env.SCRIPTS_PATH }}