Skip to content

Add MySQL to workflows #11

Add MySQL to workflows

Add MySQL to workflows #11

Workflow file for this run

name: Compile
on:
pull_request:
branches: master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Environments
run: |
echo "SM_VERSION=1.11" >> $GITHUB_ENV
- name: Install
run: |
bash scripts/install.sh
- name: Compile
run: |
cd build/addons/sourcemod/scripting
./spcomp -E textstore.sp -o ../plugins/textstore.smx
./spcomp -E textstore_defaults.sp -o ../plugins/textstore_defaults.smx
./spcomp -E textstore_generic.sp -o ../plugins/textstore_generic.smx
./spcomp textstore_sqlite.sp -o ../plugins/textstore_sqlite.smx
./spcomp textstore_mysql.sp -o ../plugins/textstore_mysql.smx
./spcomp -E textstore_tf2.sp -o ../plugins/textstore_tf2.smx