Skip to content

Commit

Permalink
Add sourcemod build step
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmacdonald committed Sep 8, 2024
1 parent b91495a commit 50f8c89
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ jobs:
working-directory: ./sourcemod/scripting
run: spcomp -i"./include/" gbans.sp -o ../plugins/gbans.smx

build-plugin:
runs-on: ubuntu-latest
steps:
- name: Setup SourcePawn Compiler
uses: rumblefrog/setup-sp@master
with:
version: "1.12.x"

- name: Ensure sourcemod plugin builds
working-directory: ./sourcemod/scripting
run : |
spcomp -i"./include/" gbans.sp -o ../plugins/gbans.smx
ls -la ../plugins
lint-ts:
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 50f8c89

Please sign in to comment.