Skip to content

change something

change something #28

Workflow file for this run

name: Check all plugins
on:
pull_request:
paths:
- 'addons/sourcemod/scripting/**/*.sp'
- 'addons/sourcemod/scripting/**/*.inc'
branches:
- master
push:
paths:
- 'addons/sourcemod/scripting/**/*.sp'
- 'addons/sourcemod/scripting/**/*.inc'
branches:
- master
workflow_dispatch:
paths:
- 'addons/sourcemod/scripting/**/*.sp'
- 'addons/sourcemod/scripting/**/*.inc'
branches:
- master
jobs:
build:
name: build with sm${{ matrix.sm_version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sm_version:
#- "1.9"
#- "1.10"
- "1.11"
- "1.12"
steps:
- uses: actions/checkout@v3
- name: Set environment variables
run: |
echo "SCRIPTS_PATH=$GITHUB_WORKSPACE/addons/sourcemod/scripting" >> $GITHUB_ENV
- name: Setup SourcePawn Compiler ${{ matrix.SM_VERSION }}
uses: rumblefrog/setup-sp@master
with:
version: ${{ matrix.SM_VERSION }}
- name: Compile plugins
run: |
for file in *.sp
do
echo -e "\nCompiling $file..."
<<<<<<< HEAD

Check failure on line 52 in .github/workflows/check_plugins.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check_plugins.yml

Invalid workflow file

You have an error in your yaml syntax on line 52
spcomp -E -w234 -O2 -v2 -i $SCRIPTS_PATH/include $file
=======
spcomp -E -w234 -w217 -O2 -v2 -i $SCRIPTS_PATH/include $file
>>>>>>> master
done
working-directory: ${{ env.SCRIPTS_PATH }}/