-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e88cc01
commit 4757c18
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
lib/* linguist-vendored | ||
node_modules/* linguist-vendored | ||
__tests__/* linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Main Workflow | ||
|
||
on: [push] | ||
|
||
jobs: | ||
run: | ||
name: Run action | ||
runs-on: ${{ matrix.operating-systems }} | ||
strategy: | ||
matrix: | ||
operating-systems: [ubuntu-latest, windows-latest, macos-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Setup SourcePawn Compiler | ||
uses: rumblefrog/setup-sp@master | ||
with: | ||
version: "1.11.x" | ||
|
||
# For some reason, mac compiler doesn't use the include directory in which the compiler is in | ||
- name: Verify compiler | ||
run: | | ||
which spcomp | ||
echo $includePath | ||
spcomp -i$includePath __tests__/compile.sp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include <sourcemod> | ||
|
||
#pragma semicolon 1 | ||
#pragma newdecls required | ||
|
||
public void OnPluginStart() | ||
{ | ||
PrintToServer("Hello, World!"); | ||
} |