Skip to content

Refactor build pipelines #2

Refactor build pipelines

Refactor build pipelines #2

Workflow file for this run

name: Build
on: [push]
jobs:
cpp-linux-build:
name: Build Linux
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-24.04 ]
config: [ debug, release ]
steps:
- name: Set Up Environment
uses: ./.github/actions/build-setup
with:
generator: gmake
- name: Configure Ubuntu Libraries
run: sudo apt-get install -y libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev mesa-common-dev
- name: Install Clang 19
uses: egor-tensin/setup-clang@v1
with:
version: 19
platform: x64
- name: Build
run: make config=${{ matrix.config }}_x64 -j$(nproc)
cpp-windows-build:
name: Windows Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-2022 ]
config: [ debug, release ]
steps:
- name: Set Up Environment
uses: ./.github/actions/build-setup
with:
generator: vs2022
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build
run: |
$config = (Get-Culture).TextInfo.ToTitleCase("${{ matrix.config }}")
msbuild Tempest.sln -p:Configuration=$config -p:Platform=x64 -m