Skip to content

Resolved issue with elemental imbuements healing. #1

Resolved issue with elemental imbuements healing.

Resolved issue with elemental imbuements healing. #1

name: Build and Setup Project
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
distro: [ubuntu-latest, debian, arch, fedora, gentoo]
steps:
- name: Set up Git
uses: actions/checkout@v3
- name: Install Dependencies (Ubuntu/Debian)
if: matrix.distro == 'ubuntu-latest' || matrix.distro == 'debian'
run: |
sudo apt-get update
sudo apt-get install -y git build-essential uuid-dev
- name: Install Dependencies (Arch)
if: matrix.distro == 'arch'
run: |
sudo pacman -Syu --noconfirm
sudo pacman -S --noconfirm git base-devel util-linux
- name: Install Dependencies (Fedora)
if: matrix.distro == 'fedora'
run: |
sudo dnf install -y git make uuid-devel
- name: Install Dependencies (Gentoo)
if: matrix.distro == 'gentoo'
run: |
sudo emerge --sync
sudo emerge --ask dev-vcs/git sys-apps/util-linux sys-devel/make
- name: Build Premake
run: |
git clone https://github.com/premake/premake-core
cd premake-core
make -f Bootstrap.mak linux
- name: Set up Vcpkg
run: |
git clone https://github.com/microsoft/vcpkg ../vcpkg
cd vcpkg
./bootstrap-vcpkg.sh
- name: Configure Project
run: |
cd BlackTek-Server
../premake-core/bin/release/premake5 gmake2
- name: Install Vcpkg Libraries
run: |
cd BlackTek-Server
../vcpkg/vcpkg install
- name: Compile Project
run: |
cd BlackTek-Server
make -j $(nproc) config=release_64