Skip to content

add: User access, admin levels (amxmodx) #69

add: User access, admin levels (amxmodx)

add: User access, admin levels (amxmodx) #69

Workflow file for this run

name: Linux Build CI
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
container: ubuntu:18.04
steps:
- uses: actions/checkout@v3
- name: Add i386 architecture
run: dpkg --add-architecture i386
- name: Update repository
run: apt-get update
- name: Install build dependencies
run: apt-get install -qq -y wget unzip build-essential gcc-5-multilib g++-5-multilib libgcc1:i386
- name: Update alternatives
run: update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 100 --slave /usr/bin/g++ g++ /usr/bin/g++-5
- name: Run build
working-directory: ./SurfMod
run: make
- name: Move release file to publish
run: |
mkdir -p publish/addons/SurfMod/dlls
mv ./SurfMod/Release/SurfMod_mm.so publish/addons/SurfMod/dlls
- name: Deploy artifacts
uses: actions/upload-artifact@v3
with:
name: SurfMod-linux
path: publish/*