Skip to content

Resolve error thrown for doing math with a boolean after lua change f… #173

Resolve error thrown for doing math with a boolean after lua change f…

Resolve error thrown for doing math with a boolean after lua change f… #173

name: Linux Build
on: [workflow_dispatch, pull_request, push]
jobs:
linux_build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Git
uses: actions/checkout@v4
- name: Install Uuid
run: |
if ! pkg-config --exists uuid; then
echo "libuuid is not installed. Installing it..."
sudo apt-get update
sudo apt-get install -y uuid-dev
else
echo "libuuid is already installed."
fi
- name: Ensure Correct VCPKG Baseline
uses: lukka/run-vcpkg@main
with:
vcpkgGitURL: "https://github.com/microsoft/vcpkg.git"
vcpkgGitCommitId: ${{ steps.vcpkg-step.outputs.vcpkgGitCommitId }}
- 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: |
vcpkg install
- name: Compile Release 64
run: |
make -j $(nproc) config=release_64
- name: Compile Debug 64
run: |
make -j $(nproc) config=debug_64