Added a method to get all users from the UserDB and UserManagers. #1648
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
name: ☁ Server Builds | |
on: [push, pull_request] | |
# Global Settings | |
env: | |
PANDEMONIUM_BASE_BRANCH: master | |
SCONSFLAGS: verbose=yes warnings=all werror=yes debug_symbols=no | |
concurrency: | |
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-server | |
cancel-in-progress: true | |
jobs: | |
build-server: | |
# Stay one LTS before latest to increase portability of Linux artifacts. | |
runs-on: "ubuntu-22.04" | |
name: ${{ matrix.name }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Linux Headless (target=release_debug, tools=yes) | |
cache-name: server-editor | |
target: release_debug | |
tools: true | |
artifact: true | |
- name: Linux Server (target=release, tools=no) | |
cache-name: server-template | |
target: release | |
tools: false | |
artifact: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Linux dependencies | |
shell: bash | |
run: | | |
# Azure repositories are flaky, remove them. | |
sudo rm -f /etc/apt/sources.list.d/{azure,microsoft}* | |
sudo apt-get update | |
# The actual dependencies. | |
sudo apt-get install --no-install-recommends build-essential pkg-config libx11-dev \ | |
libxcursor-dev libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev \ | |
libpulse-dev libdbus-1-dev libudev-dev libxi-dev libxrandr-dev yasm xvfb wget unzip \ | |
libspeechd-dev speech-dispatcher | |
- name: Restore Pandemonium build cache | |
uses: ./.github/actions/pandemonium-cache-restore | |
with: | |
cache-name: ${{ matrix.cache-name }} | |
continue-on-error: true | |
- name: Setup python and scons | |
uses: ./.github/actions/pandemonium-deps | |
- name: Compilation | |
uses: ./.github/actions/pandemonium-build | |
with: | |
sconsflags: ${{ env.SCONSFLAGS }} ${{ matrix.sconsflags }} | |
platform: server | |
target: ${{ matrix.target }} | |
tools: ${{ matrix.tools }} | |
- name: Prepare artifact | |
if: ${{ matrix.artifact }} | |
run: | | |
strip bin/pandemonium_server.* | |
chmod +x bin/pandemonium_server.* | |
- name: Save Pandemonium build cache | |
uses: ./.github/actions/pandemonium-cache-save | |
continue-on-error: true | |
- name: Upload artifact | |
uses: ./.github/actions/upload-artifact | |
if: ${{ matrix.artifact }} | |
with: | |
name: ${{ matrix.cache-name }} |