add sbom build script #2721
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: xpra | |
on: [push, pull_request] | |
jobs: | |
unittest: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "apt-get install" | |
run: | | |
# see docs/Build/Debian.md | |
sudo apt-get update | |
sudo apt-get -y install libx11-dev libxtst-dev libxcomposite-dev libxdamage-dev libxres-dev \ | |
libxkbfile-dev python3-dev pandoc libsystemd-dev \ | |
libgtk-3-dev python3-dev python3-cairo-dev python-gi-dev cython3 \ | |
xauth x11-xkb-utils \ | |
xvfb python3-cairo python3-gi-cairo \ | |
libturbojpeg-dev libwebp-dev python3-pil \ | |
libx264-dev libvpx-dev libyuv-dev libavif-dev libopenh264-dev libspng-dev \ | |
python3-dbus python3-cryptography \ | |
python3-netifaces \ | |
openssh-client sshpass python3-paramiko \ | |
python3-setproctitle python3-xdg \ | |
libpam-dev xserver-xorg-dev xutils-dev xserver-xorg-video-dummy xvfb keyboard-configuration \ | |
python3-kerberos python3-gssapi python3-aioquic \ | |
python3-gst-1.0 \ | |
gstreamer1.0-pulseaudio gstreamer1.0-alsa \ | |
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \ | |
gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-vaapi \ | |
liblz4-dev python3-lz4 \ | |
libbrotli-dev \ | |
libxxhash-dev libqrencode-dev \ | |
python3-coverage \ | |
openssl \ | |
x11-xserver-utils dbus-x11 | |
- name: "Build/Install/Test" | |
run: > | |
python3 setup.py unittests | |
--skip-fail unit.client.splash_test | |
--skip-slow unit.client.x11_client_test | |
--skip-slow unit.server.server_sockets_test | |
--skip-slow unit.server.mixins.startdesktop_option_test | |
--skip-slow unit.x11.x11_server_test | |
--skip-slow unit.server.server_auth_test | |
--skip-slow unit.server.shadow_server_test | |
--skip-slow unit.server.mixins.start_option_test | |
--skip-slow unit.server.mixins.shadow_option_test |