-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (42 loc) · 1.24 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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