AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [Github Action] Setup SourcePawn (https://forums.alliedmods.net/showthread.php?t=319705)

RumbleFrog 11-15-2019 16:46

[Github Action] Setup SourcePawn
 
This action sets-up, cache and adds sourcemod scripting directory to the path

Usage

See action.yml

Basic


Matrix


Example using the matrix: https://github.com/rumblefrog/source...d.yml#L97-L141


View it on the Github Marketplace

Source: https://github.com/rumblefrog/setup-sp

Bara 11-15-2019 19:55

Re: [Github Action] Setup SourcePawn
 
Thanks! I've updated the workflow file for TTT to use this.
https://github.com/Bara/TroubleinTer...56b0562a451f09

Byte 11-16-2019 02:47

Re: [Github Action] Setup SourcePawn
 
Cool that people are starting to use Github Actions! Nice work frog man :)

sneaK 11-16-2019 19:16

Re: [Github Action] Setup SourcePawn
 
Awesome work, thank you!

RumbleFrog 11-17-2019 00:13

Re: [Github Action] Setup SourcePawn
 
Note that the compiler on mac platform does not use binreloc library due to not being in the builder. So by default on the mac platform, the include directory that the compiler is residing in is not used.

An existing workaround would be using the exported `includePath` env variable. When calling spcomp, pass -i$includePath as an option to use the default includes.

proyalevents 12-02-2019 03:27

Re: [Github Action] Setup SourcePawn
 
Thank You For This.

RumbleFrog 10-14-2020 14:25

Re: [Github Action] Setup SourcePawn
 
Note that since October 1st, Github has deprecated add-path and set-env command, please update the action to @v1.0.1 and later or @master in your workflow.

.

nosoop 02-28-2021 23:50

Re: [Github Action] Setup SourcePawn
 
Nifty; saw it a while back but never got around to using Gtihub workflows until now.
Integrating it with my plugin project template went swimmingly.


All times are GMT -4. The time now is 20:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.