Skip to content

lets try to debug some #127

lets try to debug some

lets try to debug some #127

name: Linux Build
on: [workflow_dispatch, pull_request, push]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, ubuntu-22.04]
configuration:
- ReleaseDynamic
- ReleaseStatic
- DebugDynamic
- DebugStatic
platform:
- 64
- ARM64
runs-on: ${{ matrix.os }}
steps:
- name: Set up Git
uses: actions/checkout@v4
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt-get install -y uuid-dev
- name: Install vcpkg
uses: lukka/run-vcpkg@v10
with:
vcpkgGitURL: "https://github.com/microsoft/vcpkg.git"
vcpkgGitCommitId: "215a2535590f1f63788ac9bd2ed58ad15e6afdff"
- name: Setup Premake
run: |
git clone https://github.com/premake/premake-core
cd premake-core
make -f Bootstrap.mak linux
cd ..
./premake-core/bin/release/premake5 gmake2
- name: Install Vcpkg Libraries
run: |
if [[ "${{ matrix.configuration }}" == *Static ]]; then
vcpkg install --triplet=x64-linux-release
else
vcpkg install --triplet=x64-linux
fi
- name: Build Project
run: |
make help
make -j $(nproc)
- name: Create and Upload Artifact
if: ${{ github.event_name != 'pull_request' }}
uses: actions/upload-artifact@v4
with:
name: BlackTek-Server-${{ matrix.os }}-${{ matrix.configuration }}-${{ matrix.platform }}-${{ github.sha }}
path: |
BlackTek-Server