forked from rumblefrog/setup-sp
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 955 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Setup and test AMXXPawn
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
jobs:
run:
name: Run action
runs-on: ubuntu-latest
strategy:
matrix:
amxxVersion: ['1.10.x', '1.9.x']
steps:
- uses: actions/checkout@v4.1.1
- name: Setup AMXXPawn Compiler (local action)
if: github.event_name == 'pull_request'
uses: ./
with:
version: ${{ matrix.amxxVersion }}
- name: Setup AMXXPawn Compiler (master)
if: github.event_name != 'pull_request'
uses: wopox1337/setup-amxxpawn@master
with:
version: ${{ matrix.amxxVersion }}
- name: Verify compiler
run: |
echo "which amxxpc: $(which amxxpc)"
echo "includePath directory list: $includePath"
ls -l $includePath
echo "scriptingPath directory list: $scriptingPath"
ls -l $scriptingPath
amxxpc __tests__/compile.sma