-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux viewer (ReleaseOS) resurrection (#1099)
Co-authored-by: AiraYumi <[email protected]>
- Loading branch information
Showing
80 changed files
with
5,113 additions
and
3,473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Linux build example | ||
on: | ||
workflow_dispatch: | ||
push: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
AUTOBUILD_ADDRSIZE: 64 | ||
AUTOBUILD_VARIABLES_FILE: ${{ github.workspace }}/.build-variables/variables | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
||
- name: Setup python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Checkout build variables | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: secondlife/build-variables | ||
ref: viewer | ||
path: .build-variables | ||
|
||
- name: Checkout master-message-template | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: secondlife/master-message-template | ||
path: .master-message-template | ||
|
||
- name: Install autobuild and python dependencies | ||
run: pip3 install autobuild llsd | ||
|
||
- name: Install Linux dependencies | ||
if: runner.os == 'linux' | ||
run: sudo apt update && sudo apt install -y libfltk1.3-dev libunwind-dev libgl1-mesa-dev libglu1-mesa-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev libxrender-dev libxfixes-dev libxxf86vm-dev libxss-dev libdbus-1-dev libudev-dev libssl-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libfreetype6-dev ninja-build libxft-dev | ||
|
||
- name: Build | ||
id: build | ||
shell: bash | ||
run: | | ||
autobuild configure -c ReleaseOS -A64 | ||
cd build-linux-x86_64 && ninja -k0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.