summaryrefslogtreecommitdiff
path: root/.github/workflows/build_linux.yaml
diff options
context:
space:
mode:
authorNicky Dasmijn <nicky.dasmijn@posteo.nl>2024-04-08 22:39:20 +0200
committerGitHub <noreply@github.com>2024-04-08 23:39:20 +0300
commit6b4b33cc129e9482342c9280ae79c9c5ce427ef1 (patch)
tree24ba69020d29755529cf043ffaf7b5e1b38ae268 /.github/workflows/build_linux.yaml
parentbbd6dfc21a1a6c07824fc81e0659a2c200581d3b (diff)
Linux GHA builds (#1147)
* Linux GHA builds Add Ubuntu 22.04 runner and Linux dependencies Do not even try to touch ReleaseFS for Linux yet (this needs KDU, Havok, FMOD) * Lets play a game of 'guess the havok source url' * Move to linux-large runner. * ReleaseOS used OpenAL, not fmod studio (which otherwise is the default) * - Correction for Linux build dir - HAVOK / CrashReporting wrestling. HAVOK is always turned on, even for OS builds Turn this off for Linux-ReleaseOS Same with crashreporting, we need it off for now * Add missing brace * When doing a GHA build pack right into RUNNER_TEMP and then signal the created archive as our "viewer_app" * Upload Linux-ReleaseOS after build * - Need to use os.path.join and not hyst join - set_github_output_path can be called unconditionally * Remove Linux GHA build example.
Diffstat (limited to '.github/workflows/build_linux.yaml')
-rw-r--r--.github/workflows/build_linux.yaml47
1 files changed, 0 insertions, 47 deletions
diff --git a/.github/workflows/build_linux.yaml b/.github/workflows/build_linux.yaml
deleted file mode 100644
index 005284e984..0000000000
--- a/.github/workflows/build_linux.yaml
+++ /dev/null
@@ -1,47 +0,0 @@
-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