Skip to content

Commit d260c8a

Browse files
authored
Fix build
* fix(sp): Fix cURL inc * fix(ci): Tryfix build * fix(ci): Try this other for in loop * fix(ci): Use the github workspace dir * fix(ci): Fix scripting path * fix(ci): Let's just ignore errors
1 parent 0dce9a4 commit d260c8a

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,21 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
SM_VERSION: ["1.10", "1.11"]
15+
SM_VERSION: ["1.10"]
1616

1717
steps:
1818
- uses: actions/checkout@v2
1919

20-
- name: Set environment variables
21-
run: |
22-
# echo "SCRIPTS_PATH=scripting" >> $GITHUB_ENV
23-
echo "SCRIPTS_PATH=scripting" >> $GITHUB_ENV
2420
- name: Setup SourcePawn Compiler ${{ matrix.SM_VERSION }}
2521
uses: rumblefrog/setup-sp@master
2622
with:
2723
version: ${{ matrix.SM_VERSION }}
2824

2925
- name: Compile plugins
3026
run: |
31-
for file in scripting/*.sp
27+
for file in scripting/${plugin_name}*.sp
3228
do
3329
echo -e "\nCompiling $file..."
34-
spcomp -E -w234 -O2 -v2 -i include $file
30+
spcomp -w234 -O2 -v2 -i ./scripting/include $file
3531
done
36-
working-directory: ${{ env.SCRIPTS_PATH }}
32+
working-directory: ${{ github.workspace }}

compiled/payload-webhook.smx

21.4 KB
Binary file not shown.
-21.4 KB
Binary file not shown.

scripting/include/cURL.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,4 +562,4 @@ public Extension __ext_curl = {
562562
#else
563563
required = 0,
564564
#endif
565-
};
565+
};

scripting/include/cURL_header.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,4 +1203,4 @@ enum CURLFORMcode {
12031203
CURL_FORMADD_ILLEGAL_ARRAY,
12041204
CURL_FORMADD_DISABLED, /* libcurl was built with this disabled */
12051205
CURL_FORMADD_LAST /* last */
1206-
};
1206+
};

0 commit comments

Comments
 (0)