add - Added new contribution rules #2487
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: Build Project (for Launchpad PPA) | |
on: | |
push: | |
branches: [ "main", "v0.1.1.x-servicing" ] | |
pull_request: | |
branches: [ "main", "v0.1.1.x-servicing" ] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Install required packages | |
run: | | |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list | |
sudo apt autoremove dotnet* | |
sudo apt update | |
sudo NEEDRESTART_SUSPEND=1 apt install curl locales-all libunwind8-dev libcurl4-openssl-dev dotnet-sdk-8.0 libjack0 libportaudio2 libopenal1 libsdl2-2.0-0 libpulse0 libaudio2 devscripts debhelper-compat dput build-essential | |
- name: Initialize offline package | |
run: | | |
sudo ip netns add no-net | |
chmod +x tools/initializeoffline.sh | |
make debian-init-offline | |
make clean | |
- name: Try to build | |
run: | | |
sudo ip netns exec no-net make debian-all-offline |