forked from FirestormViewer/phoenix-firestorm
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 1.33 KB
/
build_linux_test.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
name: Linux build example
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-22.04
env:
AUTOBUILD_ADDRSIZE: 64
AUTOBUILD_VARIABLES_FILE: ${{ github.workspace }}/.fs-build-variables/variables
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Checkout build variables
uses: actions/checkout@v4
with:
repository: FirestormViewer/fs-build-variables
path: .fs-build-variables
- name: Install autobuild and python dependencies
run: pip3 install autobuild llsd llbase
- name: Install Linux dependencies
if: runner.os == 'linux'
run: |
sudo apt update
sudo apt install -y libgl1-mesa-dev libglu1-mesa-dev libpulse-dev \
build-essential git libssl-dev libxinerama-dev libxrandr-dev \
libfontconfig-dev libfreetype6-dev ninja-build
sudo apt autoremove
sudo apt clean
- name: Build
id: build
shell: bash
run: |
autobuild configure -A 64 -c ReleaseFS_open -- --no-opensim --avx2 --tracy --ninja --vscode
cd build-linux-x86_64 && ninja -k0